docs: public HostAddress withDefaultPort(int defaultPort)
      {
          if (!isValidPort(defaultPort)) {
              throw new IllegalArgumentException("Port number out of range: " + defaultPort);
          }
  
          if (hasPort() || port == defaultPort) {
              return this;
          }
          return new HostAddress(host, defaultPort);
      }