code: private static URI createUri(String protocol, String host, int port) {
          try {
              return new URI(protocol, null, host, port, null, null, null);
          } catch (URISyntaxException e) {
              throw new RuntimeException(e);
          }
      }
docs: A convenience method to create a new {@link URI} out of a protocol, host and port, hiding the
  {@link URISyntaxException} behind a {@link RuntimeException}.
  
  @param protocol the protocol such as http
  @param host hostname or IP address
  @param port port number
  @return a new {@link URI}