tweak ConnectionState#handle_input's raise