If HTTP charset header is empty, do not append content encoding to Content-Type header

This matches .NET behavior.