Moving rest::URIParser to common place.