docs: static void sendResponse(final ManagementRequestContext<RegistrationContext> context, final byte responseType, final ModelNode response) throws IOException {
          final ManagementResponseHeader header = ManagementResponseHeader.create(context.getRequestHeader());
          final FlushableDataOutput output = context.writeMessage(header);
          try {
              sendResponse(output, responseType, response);
          } finally {
              StreamUtils.safeClose(output);
          }
      }