@Override
  public Socket createSocket(Socket socket, String string, int i, boolean bln) throws IOException {
    return socketFactory.createSocket(socket, string, i, bln);
  }
InternalSSLSocketFactory is an abstract class implementing a SSLSocketFactory.
<p>
Implementers of this class need to specific the SSLContext protocol and whether the server's SSL
certificates should be trusted or validated.
ambari-server/src/main/java/org/apache/ambari/server/security/InternalSSLSocketFactory.java