fixed issue #13 to handle encrypted and signed messages
Merge pull request #14 from OneCare/master

Fixed case sensitivity of "application/x-pkcs7-mime" header.