Add first socketio commands

The main problem seems to be in the client's code, no 'connect' event
seems to be either send or received...