public UserControlHTTPSniffer()
        {
            InitializeComponent();

            proxyManager = new ProxyManager();
            Listening = false;
            LastProxyOutputIndex = 0;
            Requests = new List<ProxyRequest>();
        }
        private void buttonListen_Click(object sender, EventArgs e)
        {
            if (Listening)
            {
                buttonListen.Enabled = false;
                proxyManager.Stop();
            }
            else
            {
                Listening = true;
                buttonListen.Text = "Stop Listening";
                LastProxyOutputIndex = 0;

                int Port = Convert.ToInt32(numericUpDownSnifferPort.Value);
                proxyManager = new ProxyManager();
                proxyManager.StartProxy(Port);
            }
        }