Consistently propagate IOException

Jetty automatically returns 500 internal error to clients and logs the
exception stack trace.