Added girc_connect and some event-related stuff