Implement XEP-0198 session resumption for C2S sessions. This allows C2S sessions to resume if the underlying TCP or Websocket is lost.