docs: @Override
      public java.net.Socket createSocket(java.net.Socket s, String host, int port, boolean autoClose) throws IOException, UnknownHostException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "createSocket", new Object[] { s, host, Integer.valueOf(port), Boolean.valueOf(autoClose) });
          javax.net.ssl.SSLSocketFactory factory = default_factory;
          javax.net.ssl.SSLSocket socket = null;
  
          // use the props set from the constructor
          java.util.Properties sslprops = props;
  
          try {
              java.util.Map<String, Object> connectionInfo = new HashMap<String, Object>();
              connectionInfo.put(Constants.CONNECTION_INFO_DIRECTION, Constants.DIRECTION_OUTBOUND);
              connectionInfo.put(Constants.CONNECTION_INFO_REMOTE_HOST, host);
              connectionInfo.put(Constants.CONNECTION_INFO_REMOTE_PORT, Integer.toString(port));
  
              if (default_constructor) {
                  sslprops = getProperties(null, connectionInfo, null);
              }
  
              if (sslprops != null)
                  factory = getSSLSocketFactory(connectionInfo, sslprops);
          } catch (Exception e) {
              if (tc.isDebugEnabled())
                  Tr.debug(tc, "Exception getting SSLSocketFactory.", new Object[] { e });
              FFDCFilter.processException(e, getClass().getName(), "checkClientTrusted", this, new Object[] { socket, host, port });
          }
  
          if (factory != null) {
              socket = (javax.net.ssl.SSLSocket) factory.createSocket(s, host, port, autoClose);
              socket = SSLConfigManager.getInstance().setCipherListOnSocket(sslprops, socket);
          } else
              throw new javax.net.ssl.SSLException("SSLSocketFactory is null. This can occur if javax.net.ssl.SSLSocketFactory.getDefault() is called to create a socket and javax.net.ssl.* properties are not set.");
          if (tc.isEntryEnabled())
              Tr.exit(tc, "createSocket");
          return socket;
      }