Split parse_url to allow for external error handling