client: wip

draft. works. 
@bmizerany @unihorn 
I don't think a constant is neccessary.