Support reply failures.

Fixes #18