implement basic missing-files request handling (#9)
add replication resyncing (#9)