Fixed bug in HttpResponse class for methods getVar()  and ->getCookie()