Auto configure CharacterEncodingFilter

Provide a default UTF-8 encoding for HTTP requests and responses unless
specified otherwise.

Fixes gh-1182