Configure socket.io stuff