         public function set appName( value:String ):void
         {
             _appName = value;
-            userAgent.applicationProduct = value;
+            _defineUserAgent();
         }
         
         /**

        private var _protocol:Protocols;
        private var _appName:String;
        private var _appVersion:Version;
        private var _userAgent:UserAgent;
        private var _url:String;
        
        /**

            return color;
        }
        
        private function _defineUserAgent():void
        {
            _userAgent = core.strings.userAgent( appName + "/" + appVersion.toString(4) );
        }
        
        /**
         * Defines a custom user agent.
         * <p>For case where the user would want to define its own application name and version 
         * it is possible to change appName and appVersion which are in sync with 
         * applicationProduct and applicationVersion properties.</p>
         */
        public function get userAgent():String
        {
            if( !_userAgent )
            {
                 _defineUserAgent();
            }
            
            return _userAgent;
