adapt exception descriptions to be unicode
simplify Headers class