first stab at replicating couch nodes

from should probably be a local port and we should use stunnels to
connect to the master