Better support of misencoded headers.
Better email attachment support.

see #473
Documentation update.