docs: private boolean hasSameHost(URI uri) {
          try {
              return host.equals(normalisedHost(uri));
          } catch (URIException e) {
              LOGGER.warn("Failed to normalise host: " + Arrays.toString(uri.getRawHost()), e);
          }
          return false;
      }