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.
Merge pull request #10 from sakalajuraj/patch-6

Better url path and query handling, in certain specific URL's and for some specific conditions.