Merge pull request #1 from skurrilo/master

sign data instead of encrypt
check for request object in response or global variable