https://github.com/microsoft/Windows-classic-samples/blob/main/Samples/HttpSSLConfig/cpp/SslConfig.cpp