Implements a Rack middleware interface in C++.