All other http handlers (SocketsHttpHandler, WinHttpHandler, Android's http handler) remove the Content-Encoding + Content-Length headers if the returned content was automatically decompressed.
References:
We should be compatible with the other http handlers and do the same thing.
This should fix dotnet/wcf#4903.