This adds a Content-Type-sensitive decoder for HTTP requests.
Errors are now returned in the best matching format for the HTTP Accept header.