Small client refactor; interpret 202 responses

Fixes #204.