code: private void send(String message) {
      String scopeMessage = message.length() + " " + message;
      logger.finest("WRITE : " + scopeMessage);
      byte[] bytes = null;
      try {
        bytes = scopeMessage.getBytes("UTF-16BE");
      } catch (UnsupportedEncodingException e) {
        close();
        connectionHandler.onException(e);
        return;
      }
      ByteBuffer buffer = ByteBuffer.allocate(bytes.length);
      buffer.put(bytes);
      requests.add(buffer);
      monitor.modify(socketChannel, this, SelectionKey.OP_READ | SelectionKey.OP_WRITE);
    }
docs: Queues up an STP/0 message sent from another thread and wakes up selector to register it to the
  key.
  
  @param message to add to the request queue