Simple URI parsing class added

Swap these. Headers are always from most specific to most generic.