Address headers encoding

Please merge this branch to fix issue #33 with invalid encoding of email addresses.