code: protected void writeHeaders(@NotNull ByteBuf buf) {
  		assert !isRecycled();
  		for (int i = 0; i != headers.kvPairs.length; i += 2) {
  			HttpHeader k = (HttpHeader) headers.kvPairs[i];
  			if (k != null) {
  				HttpHeaderValue v = (HttpHeaderValue) headers.kvPairs[i + 1];
  				buf.put(CR);
  				buf.put(LF);
  				k.writeTo(buf);
  				buf.put((byte) ':');
  				buf.put(SP);
  				v.writeTo(buf);
  			}
  		}
  		buf.put(CR);
  		buf.put(LF);
  		buf.put(CR);
  		buf.put(LF);
  	}
docs: Sets headers for this message from ByteBuf
  
  @param buf the new headers