@Test
public void testRewriteCookie() throws Exception {
HttpServer server = new HttpServer(new RequestHandler());
server.start();
HttpClient httpClient = new HttpClient();
GetRequest request = new GetRequest("http://localhost:" + server.getLocalPort() + "/test");
IHttpResponse response = httpClient.call(request);