Moved to socket.io and implemented ticks.

- Moved from engine.io to socket.io.
- Implemented ticks in the websocket server (with emits to the client).
- Added a display in the html for ticks.
- Added client-side acks for the intial connect and ticks.