public void SendMessage(NetworkStream stream, string msg)
 {
     byte[] arr = Helper.StringToBytes(msg);
     stream.Write(arr, 0, arr.Length);
 }