 		/**
 		 * @private
 		 */
-		protected var socket:XMLSocket;
+		protected var _socket:XMLSocket;
 		
 		/**
 		 * @private

					closingStreamTag = new String( "</stream:stream>" );
					break;
			}
			socket.connect( server, port );
			return true;
		}
		

		{
			ignoreWhitespace = val;
		}
		
		private function _createXmlSocket():XMLSocket {
			var socket:XMLSocket = new XMLSocket(server, port);
			socket.addEventListener(Event.CONNECT,socketConnected);
			socket.addEventListener(IOErrorEvent.IO_ERROR,onIOError);
			socket.addEventListener(Event.CLOSE,socketClosed);
			socket.addEventListener(DataEvent.DATA,socketReceivedData);
			socket.addEventListener(SecurityErrorEvent.SECURITY_ERROR,securityError);
			return socket;
		}
	}
}
