capi: fixes
capi: post-data example works, plus added client abort API.