docs: protected static FlushableDataOutput writeHeader(final ManagementProtocolHeader header, final OutputStream os) throws IOException {
          final FlushableDataOutput output = FlushableDataOutputImpl.create(os);
          header.write(output);
          return output;
      }