msrplib: calculate traffic logging header only once

darcs-hash:20081111095319-b2873-7f0d0032a277d26f09c6835fd8966c3c702a965e