Add support for disabling chunked transfer encoding for the http protocol