client: skip partially written data

fix #42
v0.25.1

Signed-off-by: Fedor Indutny <fedor@indutny.com>