Add a reset connection method to fix test ordering issues
Improve documentation (a bit)
Use a custom middleware for formatting the response body, and improve error handling in async contexts