docs: public static SocketFactory createSSLClientSocketFactory(Configuration config) throws Exception {
  		SSLContext sslContext = createInternalSSLContext(config);
  		if (sslContext == null) {
  			throw new IllegalConfigurationException("SSL is not enabled");
  		}
  
  		return sslContext.getSocketFactory();
  	}