set socket.id