peek for Fermin

### This is not a PR
Just used to interchange info.
Will be removed after fulfilling its purpose
Perhaps the REGEX can be simplified (and much faster), following the idea of strncmp ...

If the incoming service path is /a/b/#, the pattern to match would be "^/a/b/.*". This is a little too wide, as not all characters are allowed, so a little better would be something like "^/a/b/.[A-Za-z0-9_]*"  (I don't remember exactly which were the allowed chars).

Also (and especially), the REGEX doesn't have to cover ALL cases, we can fix that in C++ before using the REGEX.  If the service-path is simply '/a/b', we don't have to complicate things. Just a string comparison.

If the service path is empty (or /#), then we don't even include the servicePath part in the "structure of the query".