Added Socket.IO support for further testing.
Added event and state transition counters
Added XHR-polling version of the client
Tiny fix :S
Added a convenience spawning function
Tiny fix
Let's pretend we are a browser.
Merge branches 'master' and 'socketio'