Added option to strip querystring from requrl.