public static SocketFactory sni(String hostname, int port) {
    return new SniProxySocketFactory(hostname, port);
  }
Create a {@link SocketFactory} that will connect a geode client through
the configured SNI proxy.

@param hostname the hostname of the sni proxy
@param port the port of the sni proxy
@return a {@link SocketFactory} that will connect a geode client through the configured SNI
        proxy
geode-core/src/main/java/org/apache/geode/cache/client/proxy/ProxySocketFactories.java