refactor reqest and response middleware
Merge branch 'master' of github.com:NixieAgency/edac
more middleware refactor and lint