Change how http.ResponseWriter is wrapped to make testing possible.