docs: @Override
      public Client headers(MultivaluedMap<String, String> map) {
          //defect 213017, according to javadoc, need to clear all existing Headers.
          removeAllHeaders();
          state.getRequestHeaders().putAll(map);
          return this;
      }