public ClientCacheFactory setPoolSocketFactory(SocketFactory socketFactory) {
    getPoolFactory().setSocketFactory(socketFactory);
    return this;
  }
Set the socket factory used by this pool to create connections to both locators (if
configured using {@link #addPoolLocator(String, int)} (String, int)}) and servers.

Sockets returned by this factory will have the rest of the configuration options
specified on this pool and on the {@link ClientCache} applied to them. In particular,
sockets returned by this factory will be wrapped with SSLSockets if ssl is enabled
for this client cache.

This factory can be used for configuring a proxy, or overriding various socket settings.
For modifying SSL settings, see {@link SSLParameterExtension}

See {@link ProxySocketFactories}

@param socketFactory The {@link SocketFactory} to use
@return a reference to <code> this </code>
@see PoolFactory#setSocketFactory(SocketFactory)
@since Geode 1.13
geode-core/src/main/java/org/apache/geode/cache/client/ClientCacheFactory.java