Added a socket.io wrapper.

This will give us the ability to separate the front end from the back end down the road.