first connection with socket.io