Send an exception response only if the channel is connected.

We experienced several IOException("Connection reset by peer") within out app, which lead to an exception loop, because trying to send a response via an unconnected channel caused another exception.