Better url path and query handling

parse_url php function handles url path and query better when protocol://host section is present. Adding dummy protocol://host section improves url parsing for example when there is another URL in the query. For example /?path=http://thaitacticalgear.com//live/wp-includes/images/t.gif??' is not parsed correctly without this change.