protected static ClientCache getClientCache(Properties properties) {
    int proxyPort = docker.getExternalPortForService("haproxy", 15443);
    return new ClientCacheFactory(properties)
        .addPoolLocator("locator-maeve", 10334)
        .setPoolSocketFactory(ProxySocketFactories.sni("localhost",
            proxyPort))
        .create();
  }
A test of the Region API's methods that directly access the server cache
geode-assembly/src/acceptanceTest/java/org/apache/geode/client/sni/SingleServerSNIAcceptanceTest.java