      *
      *  @param appendToURL The string to append such as session id to the endpoint
      *  url while making the streaming connection request.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion BlazeDS 4
-     *  @productversion LCDS 3 
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function openStreamingConnection(appendToURL:String=null):void
     {
         state = INIT_STATE;
         _appendToURL = appendToURL;
-        
+
     	// Construct the streaming connection if needed.
         if (streamingConnection == null)
         {

     *  Byte buffer used to store the current chunk from the remote endpoint.
     *  Once a full chunk has been buffered, a message instance encoded in binary
     *  AMF format can be read from the chunk and dispatched.
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion BlazeDS 4
     *  @productversion LCDS 3 
     */
    protected var chunkBuffer:ByteArray;



    /**
     *  Parameter name for the command passed in the request for a new streaming connection.
     *
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion BlazeDS 4
     *  @productversion LCDS 3
     */
    private static const COMMAND_PARAM_NAME:String = "command";

    /**
     *  A request to open a streaming connection passes this 'command' in the request URI to the
     *  remote endpoint.
     *
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion BlazeDS 4
     *  @productversion LCDS 3
     */
    private static const OPEN_COMMAND:String = "open";

    /**
     *  A request to close a streaming connection passes this 'command' in the request URI to the
     *  remote endpoint.
     *
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion BlazeDS 4
     *  @productversion LCDS 3
     */
    private static const CLOSE_COMMAND:String = "close";

    /**
     *  Parameter name for the stream id; passed with commands for an existing streaming connection.
     *
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion BlazeDS 4
     *  @productversion LCDS 3
     */
    private static const STREAM_ID_PARAM_NAME:String = "streamId";

    /**
     *  Parameter name for the version param passed in the request for a new streaming connection.
     *
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion BlazeDS 4
     *  @productversion LCDS 3
     */
    private static const VERSION_PARAM_NAME:String = "version";

