public static SSLConnectionSocketFactory of(TlsContext ctx, HostnameVerifier verifier) {
        return new SSLConnectionSocketFactory(
                ctx.sslContext().context(), ctx.parameters().getProtocols(), ctx.parameters().getCipherSuites(), verifier);
    }
Provides {@link SSLConnectionSocketFactory} that applies protocol restrictions from {@link TlsContext}.

@author bjorncs
http-utils/src/main/java/ai/vespa/util/http/hc5/SslConnectionSocketFactory.java