 		protected var openingStreamTag:String;
 
 		/**
-		 * @private
 		 * Depending of the STREAM_TYPE_* used in the <code>connect()</code> method,
 		 * this variable will contain a matching closing element for it.
 		 * <code>parseDataReceived()</code> method will use this value.

		}

		/**
		 * The port to use when connecting. The default XMPP port is 5222.
		 */
		public function get port():uint
		{

		{
			if ( node.hasOwnProperty("required") )
			{
				// No TLS support in this class
				dispatchError( "policy-violation", "The server requires TLS. Please use XMPPTLSConnection.", "cancel", 501 );
				disconnect();
				return;
			}
		}

		/**
		 * This fires the standard dispatchError method
		 *
		 * @param	event
		 */
		protected function onIOError( event:IOErrorEvent ):void
		{
			dispatchError( "service-unavailable", "Service Unavailable", "cancel" );
		}

		/**
