splitHostAndPath = (rawHostAndPath) => {
    const [host, path = ''] = rawHostAndPath.split(urlRegexPatterns.hostAndPathSeparator);
    return { host, path };
  }
Splits the host and path from a raw host/path string.

@param {string} rawHostAndPath - The raw host and path string to be split.
@returns {Object} An object containing the host and path.