return correct error types in all cases

Was incorrectly returning unknownRespError for all commands
that expect a reply body.

fixes #4