@Override
    public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
            throws IOException, UnknownHostException {
        SSLSocket socket = (SSLSocket) delegate.createSocket(host, port, localHost, localPort);
        return prepareSSLSocket(socket);
    }
Wraps an {@link SSLSocketFactory} allowing specification of ciphers and protocols via an
{@link SSLSessionStrategy}, normally it's a per-JVM global setting.

@author Marc Savy <msavy@redhat.com>
gateway/platforms/servlet/src/main/java/io/apiman/gateway/platforms/servlet/connectors/ssl/CipherSelectingSSLSocketFactory.java