Unbreak message header unfolding.

This was quite broken before, and probably only escaped notice because few
people write regex code against headers that are folded over multiple lines.