SSLContext moved into a separate function and configurable again, removed Net::SSLSocket.