             proxy_pair = new ProxyPair(this, rs, function ():void {
                 /* Do nothing; already connected. */
             }, s_t, function ():void {
-                s_t.connect(LOCAL_TOR_CLIENT_ADDR.host, LOCAL_TOR_CLIENT_ADDR.port);
+                s_t.connect(local_addr.host, local_addr.port);
             });
             proxy_pair.connect();
         }

                return;
            }

            if (this.loaderInfo.parameters["client"])
                client_main();
            else

        };

        /* Local Tor client to use in case of RTMFP connection. */
        private const DEFAULT_LOCAL_TOR_CLIENT_ADDR:Object = {
            host: "127.0.0.1",
            port: 9002
        };

        private const MAX_NUM_PROXY_PAIRS:uint = 2;

        // Milliseconds.
        private const FACILITATOR_POLL_INTERVAL:int = 10000;
