Support reply(err, result). Closes #1280