Using mg_handler_t for iterate_over_connections()