extract headers and params from Endpoint to Grape::Request

By doing this, other middleware can access the params and headers through request, just like the Endpoint class