Discard deferred and unsent messages on unplanned disconnect.

The change causes discard_input_queue() to be called in Accelio's
on_disconnect_event() handler, as well as on mark_down().

Signed-off-by: Matt Benjamin <matt@cohortfs.com>