First shot at switching to socket.io