Socket.IO compatibility

https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x