Do not fail!() on IO/protocol errors

Fixes #25