@Override
  public Socket createSocket(String string, int i, InetAddress ia, int i1) throws IOException {
    return socketFactory.createSocket(string, i, ia, i1);
  }
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