transform the headers into multiple-line-plain-headers format that Email::Headers requires