if (defaultFactory == null) { try { defaultFactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); } catch (Throwable t) { t.printStackTrace(); } }
  public static SSLSocketFactory getDefaultSSLSocketFactory()  {    return defaultFactory;  }