httpRequest.addHeader("Host","www.origin-server.com");
httpRequest.addHeader("Accept","text/html, text/plain, image/gif");
httpRequest.addHeader("Accept-Encoding","gzip, compress");
HttpResponse httpResponse = new DefaultHttpResponse(HttpVersion.HTTP_1_1,HttpResponseStatus.OK);
request.setHttpResponse(httpResponse);
httpResponse.addHeader("Date","Mon, 10 Jan 2000 09:52:22 GMT");
httpResponse.addHeader("Server","Apache/1.3.6 (Unix)");
httpResponse.addHeader("ETag","\"63840-1ab7-378d415b\"");
httpResponse.addHeader("Content-Type","text/html");
httpResponse.addHeader("Content-Length","51");
return request;