 		 */
 		private var _rid:uint;
 
+		/**
+		 * Session ID, as defined by the server
+		 */
 		private var _sid:String;
 
 		private var _streamRestarted:Boolean;

		/**
		 * Connection to the server in BOSH is a simple URLRequest.
		 *
		 * <p>BOSH requires all incoming and outgoing data to be wrapped in
		 * <code>body</code> element. That should be taken care of before possible
		 * Stream Compression.</p>
		 *
		 * @param	data ByteArray that might be compressed if enabled
		 */
		override protected function sendDataToServer( data:ByteArray ):void
		{
			trace("XMPPBOSHConnection::sendDataToServer. httpServer: " + httpServer);
			
			var req:URLRequest = new URLRequest( httpServer );
			req.method = URLRequestMethod.POST;
			req.contentType = "text/xml"; // How about while compressed data?
			req.requestHeaders = HEADERS[ req.method ];
			req.data = data;

			var loader:URLLoader = new URLLoader();

		public static const HTTPS_PORT:uint = 7443;

		/**
		 * BOSH body wrapper element name
		 */
		public static const ELEMENT_NAME:String = "body";

		private var _boshPath:String = "http-bind/";

		private var _hold:uint = 1;
