client: wip

draft. works. 
@bmizerany @unihorn 
just for simplicity. we need to track leader/last in the future.