Simplified server code. KVs are stored in the log as [len, key, value].

After reading len, the server can do a simple memcpy.