Tiny code refactoring
Fix bug for decoding MIME encoded subject