private void grabHttpPacket(XmlElement packetElement)
        {
            string packetString = packetElement.InnerText;
            System.Text.UTF8Encoding utf8 = new System.Text.UTF8Encoding();
            System.Text.Encoder utf8Enc = utf8.GetEncoder();
            char [] packetChars = packetString.ToCharArray();
            int len = packetChars.Length;
            byte [] packetBytes = new byte[len];
            utf8Enc.GetBytes(packetChars, 0, len, packetBytes, 0, true);

            HTTPMessage m = HTTPMessage.ParseByteArray(packetBytes);

            packets.Add(m);
        }
        private void grabHttpPacket(XmlElement packetElement)
        {
            string packetString = packetElement.InnerText;

            System.Text.UTF8Encoding utf8    = new System.Text.UTF8Encoding();
            System.Text.Encoder      utf8Enc = utf8.GetEncoder();
            char [] packetChars = packetString.ToCharArray();
            int     len         = packetChars.Length;

            byte [] packetBytes = new byte[len];
            utf8Enc.GetBytes(packetChars, 0, len, packetBytes, 0, true);

            HTTPMessage m = HTTPMessage.ParseByteArray(packetBytes);

            packets.Add(m);
        }