 		public static const HTTPS_PORT:uint = 7443;
 
 		/**
-		 * BOSH body element name
+		 * BOSH body wrapper element name
 		 */
 		public static const ELEMENT_NAME:String = "body";
 
-		/**
-		 * Keys should match URLRequestMethod constants.
-		 * @see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLRequestMethod.html
-		 */
-		private static const HEADERS:Object = {
-			"POST": [],
-			"GET": [ 'Cache-Control',
-					 'no-store',
-					 'Cache-Control',
-					 'no-cache',
-					 'Pragma', 'no-cache'
-			]
-		};
-
 		private var _boshPath:String = "http-bind/";
 
 		private var _hold:uint = 1;

		 */
		private var _rid:uint;

		private var _sid:String;

		private var _streamRestarted:Boolean;

		/**
		 * Connection to the server in BOSH is a simple URLRequest.
		 *
		 * <p>All information is encoded in the body of standard HTTP POST
		 * requests and responses. Each HTTP body contains a single
		 * <strong>body</strong> wrapper which encapsulates the XML elements
		 * being transferred.</p>
		 *
		 * <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
		 * @see http://xmpp.org/extensions/xep-0124.html#overview
		 */
		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";
			req.data = data;

			var loader:URLLoader = new URLLoader();
