Extract wrapMiddleware method.
Export Stack.
Use http.DefaultServeMux if nil.
Make Method and Resource use Handler.
Change to use MethodNotAllowed.