Add preliminary support for Python 3.11