stat and client

* Added cmd/client
* Improved error handling in server
* Add stat API/handler to server
* Changed Statter interface
client: upload file client work

server: add stat handler

server: improve stat test

server: handle r/w to socket on the same layer.

client: stat first, then upload if not exists

partial: work on multi-client

client: multi upload