Support for retreiving and clearing the queue from the client. Refs punkave/ummon-cli#22