request = new BasicHttpRequest("GET", "/foo", new ProtocolVersion("HTTP", 1, 2));
request.removeHeaders("Connection");
request.addHeader("X-Unknown-Header", "some-value");
HttpRequest downgraded = new BasicHttpRequest("GET", "/foo", HTTP_1_1);
downgraded.removeHeaders("Connection");
downgraded.addHeader("X-Unknown-Header", "some-value");
RequestWrapper downgradedWrapper = new RequestWrapper(downgraded);
EasyMock.expect(