Quick changes for mod_eventful to work with mongooseim.