dry out appending headers for sending/receiving xml
more logging