Prep for socket.io