Replication streams for PouchDB/CouchDB (work in progress)