improved media type negotiation