open fun processRequest(agent: Agent, requestMessage: ConnectionRequestMessage, record: ConnectionRecord): Single<ReceivedRequest>
See ConnectionService.processRequest.
If the current record is in the SentInvitation state, we transition to the ReceivedRequest state. Otherwise, we throw an error. We store their Did and VerKey in the updated record. Note that we do not yet call the SDK to store their Did, as we do not know yet, if the user will accept the request.