Applying fixes to Https from Windows team to mono
Merge pull request #733 from amoiseev-softheme/bugfix/monofix

Applying fixes to Https from Windows team to mono