Improved validation in parseSignedRequest.
Merge pull request #104 from gfosco/signedRequest

Improved validation in parseSignedRequest.