code: public void putreq_vline(String msg)
      throws SoccomException
      {
      int length = msg.length();
      if (msg.charAt(length-1) == '\n') {
          logline("SEND: " + msg.substring(0,length-1));
      } else {
          logline("SEND: " + msg);
          msg += "\n";
      }
      byte msgbytes[] = msg.getBytes();
      try {
          _out.write(msgbytes);
      } catch (IOException e) {
          throw new SoccomException(SoccomException.REQUEST);
      }
      }
docs: Send a line as a part of a variable-size request message.
  @param msg A line of message. If it is not ended with a new
  line character, add it.
  @exception SoccomException Thrown when an IOException is encountered.