Allow support of Accept header with multiple values.
Refactor extracting content types from Accept HTTP header
Handle Content-Type header with charset
Refactor how we extract media types from Accept and Content-Type headers