Workaround for PyOpenSSL bug

Need to implement workaround in order to support serving HTTPS from the Flask development server

http://flask.pocoo.org/snippets/111/
https://bugs.launchpad.net/pyopenssl/+bug/900792