[Fixes #1429] Content negotiation does a case-sensitive matching of media type's parameter values

@harshgMSFT 
was this required? could we wrap writer in a using block?