public static Path parse(String raw) {
            return parse(raw, HttpURL::requirePathSegment);
        }
Parses the given raw, normalized path string; this ignores whether the path is absolute or relative.
vespajlib/src/main/java/ai/vespa/http/HttpURL.java