code: @Override
      public long write(ByteBuffer[] srcs, int offset, int length) throws IOException
      {
          appWrite.compact();
          long len = ByteBuffers.move(srcs, offset, length, appWrite);
          appWrite.flip();
          wrap();
          return len;
      }
docs: Writes ByteBuffer to peer. Starts handshaking if needed.
  @param srcs
  @param offset
  @param length
  @return
  @throws IOException
  @throws HelloForwardException if client hello triggers host filter.
  @see org.vesalainen.net.ssl.AbstractSSLSocketChannel#setHostFilter(java.util.function.Predicate)