docs: public ProxySettings setServer(URI uri)
      {
          if (uri == null)
          {
              return this;
          }
  
          String scheme   = uri.getScheme();
          String userInfo = uri.getUserInfo();
          String host     = uri.getHost();
          int port        = uri.getPort();
  
          return setServer(scheme, userInfo, host, port);
      }