anchor.diff:              [#plugin{name = ServiceName,
                        proxy_strategy = ProxyStrategy,
                        rest_api_prefix = RestApiPrefix,
  -                     doc_root = DocRoot} | Plugins];
  +                     doc_root = DocRoot,
  +                     request_headers_filter = ReqHdrFilter} | Plugins];
           {true, #plugin{}} ->
               ?log_info("Pluggable UI specification for ~p not loaded, "
                         "duplicate REST API prefix ~p~n",
  
positive.code: -define(TIMEOUT, 60000).
  -define(PART_SIZE, 100000).
  -define(WINDOW_SIZE, 5).
  
  -type service_name()   :: atom().
  -type rest_api_prefix():: string().
  -type proxy_strategy() :: local.
  -record(plugin, { name            :: service_name(),
                    proxy_strategy  :: proxy_strategy(),
                    rest_api_prefix :: rest_api_prefix(),
                    doc_root        :: {multiple_roots, [string()]} | string()}).
  -type plugin()  :: #plugin{}.
  -type plugins() :: [plugin()].
  
  -define(VIEW_PLUGIN, #plugin{name = views,
                               proxy_strategy = local,
                               rest_api_prefix = "couchBase",
                               doc_root = ""}).
  
  -spec find_plugins() -> plugins().
  find_plugins() ->
  
negative.code:             [{"ns-server-auth-token", Token}]
      end.
  
  convert_headers(Req, Filter) ->
      RawHeaders = mochiweb_headers:to_list(Req:get(headers)),
      Headers = [{convert_header_name(Name), Val} || {Name, Val} <- RawHeaders],
      filter_headers(Headers, Filter).
  
  convert_header_name(Header) when is_atom(Header) ->
      atom_to_list(Header);
  convert_header_name(Header) when is_list(Header) ->
      Header.
  
  filter_headers(Headers, {keep, Names}) ->
      [Hdr || {Name, _} = Hdr <- Headers, lists:member(Name, Names)];
  filter_headers(Headers, {drop, Names}) ->
      [Hdr || {Name, _} = Hdr <- Headers, not lists:member(Name, Names)].
  
  do_proxy_req({Host, Port}, Path, Headers, Timeout, Req) ->
      Method = Req:get(method),
  