Couchdb registrar backend, nat fixes in registrar