docs: public static SocketFactory getSocketFactory(Properties info) throws PSQLException {
      // Socket factory
      String socketFactoryClassName = PGProperty.SOCKET_FACTORY.get(info);
      if (socketFactoryClassName == null) {
        return SocketFactory.getDefault();
      }
      try {
        return (SocketFactory) ObjectFactory.instantiate(socketFactoryClassName, info, true,
            PGProperty.SOCKET_FACTORY_ARG.get(info));
      } catch (Exception e) {
        throw new PSQLException(
            GT.tr("The SocketFactory class provided {0} could not be instantiated.",
                socketFactoryClassName),
            PSQLState.CONNECTION_FAILURE, e);
      }
    }