Flag shutdown functionality
Applications have always been able to throw a shutdown exception to trigger a graceful shutdown, however it's not possible to respond to a request and gracefully shutdown.
These new shutdown methods allow the user to respond to the request whilst flagging the daemon for a graceful shutdown without disturbing the response.