Couchbase sync gateway

Resolves jira task BROOKLYN-9
Is this code identical to that above, except for the different timeout?