reply.setHeaderValue(Reply.H_SERVER, null);
// Duplicate reply header values:
Enumeration e = rep.enumerateHeaderDescriptions();
while ( e.hasMoreElements() ) {
HeaderDescription d = (HeaderDescription) e.nextElement();
HeaderValue v = rep.getHeaderValue(d);
if ( v != null )
reply.setHeaderValue(d, v);
}
// Get rid of hop by hop headers:
reply.setHeaderValue(Reply.H_CONNECTION, null);