/// <summary>
 /// Sends a chat message to the server.
 /// </summary>
 /// <param name="message">Message content to send.</param>
 public void SendChatMessage(string message)
 {
     ChatPackets.SendChatMessage(this, message);
 }
 /// <summary>
 /// Called when the client is connecte to the remote server.
 /// </summary>
 protected override void OnConnected()
 {
     ChatPackets.SetName(this, this.Name);
     Console.WriteLine($"You are connected! You can start typing any message.");
 }