Refactor Accpet header handling to support media range parameters