socket.io emti without need for waiting for the connect event from server