Couchbase sync gateway

Resolves jira task BROOKLYN-9
I'm tempted to say we should be using `ConfigKey<URI>` in places like this. But your code is following same pattern used elsewhere, so not suggesting you change it here. @grkvlt do you think we should start using `URI`? Changing old code will break backwards compatibility so hesitant to launch into that.