Fix content encoding issue with zero length responses