v0.2.2
adds 'onDisconnect' event to core.socket api.