The code here is executed in two cases:
- First session request - this call is a no-op because we haven't sent any Outbound messages yet.
- Session request with higher session - this means that the device that sent the request has a malformed session and we need to re-encrypt and resend all not confirmed messages.
Depends on D13032