docs: public ProxySettings setServer(URL url)
      {
          if (url == null)
          {
              return this;
          }
  
          try
          {
              return setServer(url.toURI());
          }
          catch (URISyntaxException e)
          {
              throw new IllegalArgumentException(e);
          }
      }