Fix UnicodeDecodeError on utf8-encoded Subject strings.
Merge pull request #14 from khink/encode-subject

Fix UnicodeDecodeError on utf8-encoded Subject strings.