Tentative of refactoring ...

... using internal (private) middlewares.
Move the gzip feature in its own middleware
move the gzip test in a dedicated file
Move the statusCode recording in its own middleware
go fmt
Merge pull request #29 from ant0ine/middlewareRefactor

Middleware refactor