code: public void skipHttpHeader() throws IOException {
          if (this.contentHeaderStream == null) {
              return;
          }
          // Empty the contentHeaderStream
          for (int available = this.contentHeaderStream.available();
              this.contentHeaderStream != null
                  && (available = this.contentHeaderStream.available()) > 0;) {
              // We should be in this loop once only we should only do this
              // buffer allocation once.
              byte[] buffer = new byte[available];
              // The read nulls out httpHeaderStream when done with it so
              // need check for null in the loop control line.
              read(buffer, 0, available);
          }
      }
docs: Skip over the the content headers if present.
  
  Subsequent reads will get the body.
  
  <p>Calling this method in the midst of reading the header
  will make for strange results.  Otherwise, safe to call
  at any time though before reading any of the record
  content is only time that it makes sense.
  
  <p>After calling this method, you can call
  {@link #getContentHeaders()} to get the read http header.
  
  @throws IOException