Node implementation of CouchDB replicator. For educational purposes.