Added connected/disconnected events in SocketInitiator