Socket.IO base implementation

- Socket.IO is now included
- app.js refactored to use Socket.IO
- added "new caption" ping, but there should probably be a more strictly defined protocol