docs: public HostAndPort withDefaultPort(int defaultPort) {
      checkArgument(isValidPort(defaultPort));
      if (hasPort() || port == defaultPort) {
        return this;
      }
      return new HostAndPort(host, defaultPort, hasBracketlessColons);
    }