Fixing exception on poorly encoded subject header

This fixes the unknown encoding crash as described:
  https://github.com/mikel/mail/issues/544