Add the sails special stuff for socket.io.