code: public void startPacket()
          throws IOException
      {
          if (_refs != null) {
              _refs.clear();
              _refCount = 0;
          }
  
          flushBuffer();
  
          _isPacket = true;
          _offset = 4;
          _buffer[0] = (byte) 0x05; // 0x05 = binary
          _buffer[1] = (byte) 0x55;
          _buffer[2] = (byte) 0x55;
          _buffer[3] = (byte) 0x55;
      }
docs: Starts a streaming packet
  
  <p>A streaming contains a set of chunks, ending with a zero chunk.
  Each chunk is a length followed by data where the length is
  encoded by (b1xxxxxxxx)* b0xxxxxxxx</p>