Collection of functions to handle url construction and parsing. Uses the top-level-domain extract module to correctly parse url domain information.