Chapter 13: Shared state for clients and servers