Added actual functionality to HttpRequest and HttpResponse