code: public void putreq(String msg)
      throws SoccomException
      {
      byte msgbytes[] = SoccomMessage.makeMessage(msg, null);
      logline("SEND: " + new String(msgbytes));
      copy_msgid(_msgid, msgbytes);
      try {
          // _out.print(msg);
          _out.write(msgbytes);
      } catch (IOException e) {
          throw new SoccomException(SoccomException.REQUEST);
      }
      }
docs: Send a request message.
  @param msg The message to be sent.
  @exception SoccomException Thrown when an IOException is encountered.