wip: make client also use packet streams