Fix filename extractors. Add Accept extractor that reads the headers and sort mimetypes by priority (keeping the extension the first in the list)