IcapRequest request = (IcapRequest)e.getMessage();
System.out.println(request.toString());
IcapResponse response = new DefaultIcapResponse(IcapVersion.ICAP_1_0,IcapResponseStatus.OK);
IcapMessageElementEnum bodyType = request.getBody();
if(request.getHttpRequest() != null) {
request.getHttpRequest().addHeader(HttpHeaders.Names.VIA,"icap://my.icap.server");
response.setHttpRequest(request.getHttpRequest());
}