allow for provision of a stream object in request/duplex methods