Fixes a bit headers building from mails
Mime encode and decode via streams support