If you're writing a proxy, I suggest using Filters...
# http4k
d
If you're writing a proxy, I suggest using Filters to transform the request and then just plug your choice in as the terminating handler. there's an example here: https://www.http4k.org/cookbook/nanoservices/