public static void setSocketFactory (SocketImplFactory fac)
public static synchronized void setSocketFactory (SocketImplFactory fac)
  public static void setSocketFactory (SocketImplFactory fac)    throws IOException  {    factory = fac;  }