Implements sendRequest
Serializes, encodes, and signs payloads in `mkRequest`
Decodes JSON responses in `sendRequest`