 							}
 							break;
 						
+						case "delay":
+							// http://xmpp.org/extensions/xep-0203.html
+							trace("Message used 'delay' as defined in XEP-0203.");
+							break;
+						
 						case ChatState.ACTIVE :
 						case ChatState.COMPOSING :
 						case ChatState.GONE :

		{
			myThreadNode = replaceTextNode(getNode(), myThreadNode, "thread", value);
		}
		/**
		 * Time of the message in case of a delay. Used only for messages 
		 * which were sent while user was offline.
		 * @see http://xmpp.org/extensions/xep-0203.html
		 */
		public function get time():Date
		{
			if(myTimeStampNode == null) return null;
			var stamp:String = myTimeStampNode.attributes.stamp;
			
			// CCYY-MM-DDThh:mm:ssZ
			var value:Date = new Date();
			value.setUTCFullYear(stamp.substr(0, 4)); 
			value.setUTCMonth(parseInt(stamp.substr(5, 2)) - 1);
			value.setUTCDate(stamp.substr(8, 2));
			value.setUTCHours(stamp.substr(11, 2)); 
			value.setUTCMinutes(stamp.substr(14, 2)); 
			value.setUTCSeconds(stamp.substr(17, 2));
			return value;
		}
		public function set time( value:Date ): void

							break;
							
						case "x":
							// http://xmpp.org/extensions/xep-0091.html
							if (children[i].attributes.xmlns == "jabber:x:delay")
							{
								myTimeStampNode = children[i];
