code: private String doHeaderReplaceAll(String headerValue, String fromRegex, String toReplacement) {
          return headerValue.replaceAll(fromRegex, toReplacement);
      }
docs: Finds all matching instances of the regular expression and replaces them with
  the replacement value.
  @param headerValue
  @param fromRegex
  @param toReplacement