code: public static String parseCharset(Map<String, String> headers) {
          return parseCharset(headers, HTTP.DEFAULT_CONTENT_CHARSET);
      }
docs: Returns the charset specified in the Content-Type of this header,
  or the HTTP default (ISO-8859-1) if none can be found.