static void StartProxies(string apiInbound, string apiOutbound, string handlerInbound, string handlerOutbound)
        {
            MQProxy proxy1 = new MQProxy(apiInbound, apiOutbound);

            new Thread(() => proxy1.Start()).Start();

            MQProxy proxy2 = new MQProxy(handlerInbound, handlerOutbound);

            new Thread(() => proxy2.Start()).Start();

            while (true)
            {
                ;
            }
        }
        static void StartProxy(string inboundEndpoint, string outboundEndpoint, ZContext ctx = null)
        {
            MQProxy proxy = new MQProxy(inboundEndpoint, outboundEndpoint, ctx);

            proxy.Start();
        }