client: wip

draft. works. 
@bmizerany @unihorn