(feat) Added generic impl of Middleware for fn(req, res, alloy) -> Status