Chef refactored to Middleware.
getContext() is added
and sendRequest() method is implemented in middleware itself.