Added synchronization of events across sessions

Apparently, an event bound to the `socket` variable will only get triggered to the particular session that just connected.  However, an even emitted to the `io` variable will be sent to all sessions.