internal CouchbaseHttpClient(ClientConfiguration config, IBucketConfig bucketConfig)
     : this(CreateClientHandler(bucketConfig.Name, config.HasCredentials ?
         config.GetCredentials(bucketConfig.Name, AuthContext.BucketKv).Value : bucketConfig.Password, config))
 {
     DefaultRequestHeaders.ExpectContinue = config.Expect100Continue;
 }