code: private static String normalisedHost(URI uri) throws URIException {
          if (uri.getRawHost() == null) {
              return "";
          }
          return uri.getHost().toLowerCase(Locale.ROOT);
      }
docs: Returns the normalised form of the host of the given {@code uri}.
  <p>
  The normalisation process consists in converting the host to lowercase, if {@code null} it is returned an empty
  {@code String}.
  
  @param uri the URI whose host will be extracted and normalised
  @return a {@code String} with the host normalised, never {@code null}
  @throws URIException if the host of the given {@code uri} is malformed