Make it work on python 3
Make it work on python 3

Python 2 SNI verification is a bit of a trouble, but this is now working
on python 3. Python 2 requires the installation of some extra libraries to
work:

* pyOpenSSL (tested with 0.13)
* ndg-httpsclient (tested with 0.3.2)
* pyasn1 (tested with 0.1.6)

(from
https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/contrib/pyopenssl.py)

thusoy/pwm,thusoy/pwm