Add Optional Rack Middleware