shazow/urllib3 — pull request #450 by t-8ch (2014-08-24 12:44:41+00:00)
Title: make our WrappedSocket compatible with pypy

*do not merge yet*

The changes are inspired by socket.py from pypy and the implementation is
lifted from ssl.py from pypy.

I have another branch where we actually test pyopenssl with tox and travis, we should probably wait until that one is done.

Adresses #449