Thanks for your comment. I surely hope no one will even consider using this server for anything public-facing :) It's solely for testing on localhost.
The shutdown endpoint is used for robust testing; I suppose I can hide it a bit more, like using an environment variable or something.