url: Reworked URL parsing to allow overriding by CURLOPT_USERPWD