 	{
 		/**
 		 * Stream type lets user set opening/closing tag.
-		 * <code><stream:stream></code>
+		 * <code>&lt;stream:stream&gt;</code>
 		 */
 		public static const STREAM_TYPE_STANDARD:uint = 0;
 		/**
 		 * Stream type lets user set opening/closing tag.
-		 * <code><stream:stream /></code>
+		 * <code>&lt;stream:stream /&gt;</code>
 		 */
 		public static const STREAM_TYPE_STANDARD_TERMINATED:uint = 1;
 		/**
 		 * Stream type lets user set opening/closing tag.
-		 * <code><flash:stream></code>
+		 * <code>&lt;flash:stream&gt;</code>
 		 */
 		public static const STREAM_TYPE_FLASH:uint = 2;
 		/**
 		 * Stream type lets user set opening/closing tag.
-		 * <code><flash:stream /></code>
+		 * <code>&lt;flash:stream /&gt;</code>
 		 */
 		public static const STREAM_TYPE_FLASH_TERMINATED:uint = 3;
 		

		 */
		protected function sendXML( someData:* ):void
		{
			trace("OUTGOING: {0}", someData);
			
			trace("sendXML. someData type: " + (typeof someData));



		/**
		 * Sends empty data in order to keep the connection alive.
		 * TODO: Replace with XMPP ping extension.
		 */
		public function sendKeepAlive():void
		{
			if ( isActive() )
			{
				sendXML(" "); // String
			}
		}

