public void StartProxy(string serverHost, int serverPort, int listeningPort, ProxyType proxyType, int[] filteredPackets)
        {

            Proxy = new ProxyProcessor(serverHost, serverPort, listeningPort, proxyType, filteredPackets);
            SubscribeProxy();
            IsActive = true;
        }
 public void StartProxy(ProxyProcessor proxy)
 {
     
     Proxy = proxy;
     SubscribeProxy();
     IsActive = true;
     ProxyIsExternal = true;
 }