Extracts common URIs parts into vals.
Extracts common URIs parts into vals. The algorithm is the following:
group by (scheme, authority) inside a group: if (count > 1) use the longer common root else use the (scheme, authority) if multiple roots have the same host but different schemes/ports, create a val for the hos