@Override
    public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort)
            throws IOException, UnknownHostException {
        if (useEngineSocket) {
            return createEngineSocket(hostname, port, localHost,
                    localPort, (SSLParametersImpl) sslParameters.clone());
        } else {
            return createFileDescriptorSocket(hostname, port, localHost,
                    localPort, (SSLParametersImpl) sslParameters.clone());
        }
    }
Configures the socket to be created for this instance. If not called,
{@link #useEngineSocketByDefault} will be used.
common/src/main/java/org/conscrypt/OpenSSLSocketFactoryImpl.java