void messaging_handler::on_transport_error(transport &t) { on_error(t.error()); }
void handler::on_transport_error(transport &t) { on_error(t.error()); }