HTTPS proxy fix
Merge pull request #193 from vadimpanin/HttpsProxyFix

HTTPS proxy fix