Fixed an issue with keep-alive when responses are compressed.