Set up client to receive state from server