Added support for verifying a request's signature against a public key.