 
 		private static const HTTP_PORT:int = 7070;
 
+		/**
+		 * Keys should match URLRequestMethod constants.
+		 */
 		private static const headers:Object = {
 			"post": [],
 			"get": [ 'Cache-Control',


		private var responseQueue:Array = [];

		private const responseTimer:Timer = new Timer( 0.0, 1 );

		private var rid:Number;


		{
			super();
			this.secure = secure;
			responseTimer = new Timer( 0.0, 1 );
		}

		override public function connect( streamType:String = null ):Boolean
