 		}
 
 		/**
-		 * @private
-		 * Use the authentication which is first in the list (SASL_MECHANISMS) if possible.
+		 * Use the authentication which is first in the list (<code>saslMechanisms</code>) if possible.
 		 *
 		 * @param	mechanisms
-		 * @see #SASL_MECHANISMS
+		 * @see #saslMechanisms
 		 */
 		protected function configureAuthMechanisms( mechanisms:XML ):void
 		{

		{
			if ( node.hasOwnProperty("required") )
			{
				// No TLS support yet
				// policy-violation might be more proper condition...
				dispatchError( "tls-required", "The server requires TLS. Please use XMPPTLSConnection.", "cancel", 501 );
				disconnect();
				return;
			}
		}

		/**
		 * @private
		 * This fires the standard dispatchError method. need to add the appropriate error code
		 *
		 * @param	event
		 */
		protected function onIOError( event:IOErrorEvent ):void
		{
			dispatchError( "service-unavailable", "Service Unavailable", "cancel", 503 );
		}

		/**

		protected function serviceDiscoveryResponce(to:EscapedJID, id:String):void
		{
			var iq:IQ = new IQ(to, IQ.TYPE_RESULT, id);
			var names:Array = ExtensionClassRegistry.getNamespaces();
			var ext:InfoDiscoExtension = new InfoDiscoExtension();
			ext.addFeatures(names);
			iq.addExtension(ext);
			send(iq);

			// Two kind of error might be needed to send:
