changed init method so viewcontroller doesn't pass delegate to socket.io, only SOD does. added a bit more documentation to event handling