Added io to socket_events