Setting socketId on the client