wrapIncomingReceiveStream