docs: public Message putHeader(short id, Header hdr) {
          if(id < 0)
              throw new IllegalArgumentException("An ID of " + id + " is invalid");
          if(hdr != null)
              hdr.setProtId(id);
          synchronized(this) {
              Header[] resized_array=Headers.putHeader(this.headers, id, hdr, true);
              if(resized_array != null)
                  this.headers=resized_array;
          }
          return this;
      }