Reformat with autopep8
Python 3 compat: Fix precedence bug
Python 3 compat: Improve SSL and WSGI compat
Clean up