Spore Middleware to set default parameters in requests