int event_init_socket (struct rs_connection *conn, struct rs_peer *p);
int event_init_bufferevent (struct rs_connection *conn, struct rs_peer *peer);
void event_do_connect (struct rs_connection *conn);
+void event_conn_timeout_cb (int fd, short event, void *data);
+void event_retransmit_timeout_cb (int fd, short event, void *data);