Enhance CleanText and use it to sanitize bogus message headers. Fixes issue #193.