+ Generic URL helpers, parse_url for relative URLs fix