Avoid unnecessary allocations in try_parse_url.
auto merge of #2407 : Ms2ger/servo/try_parse_url-owned, r=jdm