protected override void OnStop()
 {
     if (_wcfHost == null)
         return;
     _httpServer.Dispose();
     _wcfHost.Dispose();
     _wcfHost = null;
     _httpServer = null;
 }
        protected override void OnStart(string[] args)
        {
            _wcfHost = new WcfServerConnection();
            _wcfHost.Start();

            var prefixes = new[]{
                "http://localhost:9779/",
                "http://local.pointgaming.com:9779/",
                "http://127.0.0.1:9779/",
            };

            _httpServer = new SimpleHttpServer();
            _httpServer.Start(prefixes, ListenerCallback);
        }