Replicated KV Store Assignment

Implement the secondary replica role so that it correctly responds to
the read-only part of the KV protocol and accepts the replication
protocol, without considering persistence.