refs #56: moved stripping of the rpr from headers outside the main loop (to make it faster)