code: public void putreq_vheader(String endmark)
      throws SoccomException
      {
      if (endmark.length()!=4)
          throw new SoccomException(SoccomException.ENDM_LENGTH);
      byte msgbytes[] = SoccomMessage.
          makeMessageSpecial("ENDM" + endmark, null);
      logline("SEND: " + new String(msgbytes));
      copy_msgid(_msgid, msgbytes);
      try {
          _out.write(msgbytes);
      } catch (IOException e) {
          throw new SoccomException(SoccomException.REQUEST);
      }
      }
docs: Send the header part of a variable-size request message.
  @param endmark Must be a four character string that will
  not appear at the beginning of a line in message body.
  @exception SoccomException Thrown when an IOException is encountered.