Fix ssl_wrap_socket AttributeError on python2

Importing requests on python2 raises an AttributeError in pyopenssl.py