Add handlers for om_connect, om_disconnect, and om_gotid