Commonly used conduit functions, for both chunked and unchunked data