In the current implementation of the Server session, if the connection is lost, session may lose some event data that were queued in the old connection.
Idea is separating the connection specific messages and session specific messages in a state machine architecture.