code: public static URI createUri(final String scheme, final String host) {
          final boolean isIpV6 = host.indexOf(':') >= 0 && host.charAt(0) != '[';
          if (isIpV6) {
              return URI.create(scheme + SCHEME_SEPERATOR + "[" + host + "]");
          }
          return URI.create(scheme + SCHEME_SEPERATOR + host);
      }
docs: Create a {@link URI} with scheme and host.
  
  @param scheme
  the scheme
  @param host
  the host
  @return the {@link URI}
  @throws IllegalArgumentException
  If the given string not parsable