fix 'attach' pseudo header

this feature was not yet changed after an Envelope rewrite
and was still based on Envelope._headers[foo] being a str and not a list of str.

fixes #587
Merge branch '0.3.4-fix-attach-pheader-587'