added stream-rpc support