Added chunk-encoded input and output streams.