code: private static String buildUri(String scheme, char[] host, int port, String path) {
  		StringBuilder strBuilder = new StringBuilder(150);
  		strBuilder.append(scheme).append("://").append(host);
  		if (!isDefaultPort(scheme, port)) {
  			strBuilder.append(':').append(port);
  		}
  		strBuilder.append(path);
  		return strBuilder.toString();
  	}
docs: Creates a URI (string) with the given scheme, host, port and path. The port is only added if not the default for the
  given scheme.
  
  @param scheme the scheme, {@code http} or {@code https}.
  @param host the name of the host.
  @param port the port.
  @param path the path, should start with {@code /}.
  @return the URI with the provided components.