Simpler toMiddleware, add client_cache option
Bump node-mime, mocha versions