CouchDB Replication Protocol Definition