Made media type checking less strict (isCompatible instead of equals to
account for charset differences, wildcards ...)