Major refactoring

- API corrections to match core pattern `(req, res)`
- Fixing `this.headers()` by setting `Allow` header value if empty and URI & method is valid