Temporary fix for https not working with gevent.