VERSION 3

updates to socket.io 1 and express 4, using socket.io middleware