Small client refactor; interpret 202 responses

Fixes #204.
Actually, this was moved from cloudcfg and it's completely redundant here. Deleted it and coverage didn't change.