small fix to HttpResponse  parameter
added __toString method to HttpResponse class