         private const FACILITATOR_POLL_INTERVAL:int = 1000;
 
         // Bytes per second. Set to undefined to disable limit.
-        public const RATE_LIMIT:Number = undefined;
+        public static const RATE_LIMIT:Number = undefined;
         // Seconds.
-        private const RATE_LIMIT_HISTORY:Number = 5.0;
+        private static const RATE_LIMIT_HISTORY:Number = 5.0;
 
         /* TextField for debug output. */
         private var output_text:TextField;

           default. Returns null on error. */
        private function get_param_addr(param:String, default_addr:Object):Object
        {
            var spec:String, addr:Object;

            spec = this.loaderInfo.parameters[param];
            if (spec)

                + ":" + encodeURIComponent(fac_addr.port) + "/";
            request = new URLRequest(fac_url);
            request.method = URLRequestMethod.POST;
            request.data = new URLVariables();
            request.data["client"] = rs.id;

            puts("Facilitator: connecting to " + fac_url + ".");
