Fix Url Parser

Url parser was looking for '/' to separate hostname from path and
failed to separate hostname from query string without slash. Added
'?' as a separator.