api restrictions middleware for ee-webservice ( apikey, rate limiting )