removing debugging from Client class (oops)
refactoring out the signature validation to a new validateResponseSignature method