Fix HTTPS connector failures on windows