Fix cached responses coming in with the incorrect encodings and content length.