gets websockets working such that any message from the server is treated as player 2.