docs: private void nextChunk() throws IOException {
          if (!bof) {
              readCRLF();
          }
          chunkSize = getChunkSizeFromInputStream(in);
          bof = false;
          pos = 0;
          if (chunkSize == 0) {
              eof = true;
              parseTrailerHeaders();
          }
      }