             /* Update the client count on the badge. */
             update_client_count();
 
-            proxy_pair = new ProxyPair(this, client_addr, DEFAULT_RELAY_ADDR);
+            proxy_pair = new ProxyPair(this, client_addr, relay_addr);
             proxy_pair.addEventListener(Event.COMPLETE, function(e:Event):void {
                 proxy_pair.log("Complete.");
                 

                puts("Error: Facilitator spec must be in the form \"host:port\".");
                return;
            }

            main();
        }

        private var output_text:TextField;

        private var fac_addr:Object;
        private var relay_addr:Object;

        /* Number of proxy pairs currently connected (up to
           MAX_NUM_PROXY_PAIRS). */
