public Path append(String segment) {
            return append(List.of(segment), trailingSlash);
        }
Returns a copy of this with the <em>decoded</em> segment appended at the end; it may not be either of {@code ""}, {@code "."} or {@code ".."}.
vespajlib/src/main/java/ai/vespa/http/HttpURL.java