Compress game states sent over the network.