Allow shutting down gracefully on SIGINT
Refactors request/response formatting