Revert "Revert "Set up client to receive state from server""

This reverts commit 9100edc5ddd26375bf2dede7706e52c8e2f3f3c6.