Run onConnect and onDisconnect lifecycle events (still need to parse cookie into sid for this to really work though)
Added onDisconnect and onConnect tests.
onConnect tests pass.
Fixes tests