streaming wip

not working yet
manually merged client changes