pub type SessionId = usize;
Session identifier. Each session gets a unique ID within the ProtocolMachine.