Added 'sessionConnected' and 'sessionDisconnected' events.