Initial work: https://github.com/pedestal/pedestal/pull/897 As often is the case, the hard part will be tests and documentation.