An abstraction for URI, URL, URN in PHP