Add Socket.io

On the client side, a 'socket' singleton is created to handle all server
events. Some basic tests were added.

On the server side, I set up a simple demo.