AcceptHeader accept = getHeaderFactory().createAcceptHeader(
"application", "pidf+xml");
response.addHeader(accept);
SupportedHeader supported = getHeaderFactory()
.createSupportedHeader("ms-benotify"); // for
// messenger
response.addHeader(supported);
SupportedHeader shdr = getHeaderFactory().createSupportedHeader(
"presence");
response.addHeader(shdr);
Header hdr = getHeaderFactory().createHeader("ms-keep-alive",
"UAS; tcp=yes; hop-hop=no; end-end=yes; timeout=600");