code: public static HttpURI createHttpURI(String scheme, String host, int port, String path, String param, String query, String fragment) {
          if (port == 80 && HttpScheme.HTTP.is(scheme))
              port = 0;
          if (port == 443 && HttpScheme.HTTPS.is(scheme))
              port = 0;
          return new HttpURI(scheme, host, port, path, param, query, fragment);
      }
docs: Construct a normalized URI.
  Port is not set if it is the default port.
  
  @param scheme   the URI scheme
  @param host     the URI hose
  @param port     the URI port
  @param path     the URI path
  @param param    the URI param
  @param query    the URI query
  @param fragment the URI fragment
  @return the normalized URI