Fix TLS connections on MS-Windows