support flushing buffer to client by putting :flush on channel