code: public void init(ReadStreamOld is, String headerBoundary)
      throws IOException
    {
      _is = is;
      
      _boundary.clear();
      _boundary.add("--");
      _boundary.add(headerBoundary);
  
      _boundaryBuffer = _boundary.getBuffer();
      _boundaryLength = _boundary.getLength();
  
      _peekBuffer.setLength(_boundaryLength + 5);
      _peek = _peekBuffer.getBuffer();
      _peekOffset = 0;
      _peekLength = 0;
      _peek[_peekLength++] = (byte) '\n';
  
      _isPartDone = false;
      _isDone = false;
      _isComplete = false;
      
      while (read(_dummyBuffer, 0, _dummyBuffer.length) >= 0) {
      }
      
      _isPartDone = true;
    }
docs: Initialize the multipart stream with a given boundary.  The boundary
  passed to <code>init</code> will have "--" prefixed.
  
  @param is the underlying stream
  @param headerBoundary the multipart/mime boundary.