Implement HttpRequest::current() function
Fix strict standard waring. Only variables should be passed by reference