public void sendHeader() throws IOException {
    if (socket != null) {
      synchronized (getCommBuffer()) {
        getDSCODEsForWrite();
        flushBuffer();
        // Darrel says: I see no need for the following os.flush() call
        // so I've deadcoded it for performance.
        // this.os.flush();
      }
      currentPart = 0;
      headerSent = true;
    } else {
      throw new IOException("Dead Connection");
    }
  }
Sends the header of this message.
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ChunkedMessage.java