Implement server state serialization through msgpack. msgpack-d is awesome.