first stab at replicating couch nodes

from should probably be a local port and we should use stunnels to
connect to the master
allow setting custom netrc in query and document defines

We need to perform some actions as the replication user for plain couch.