bridge: add support for batched streams