allow enabling/disabling of quota checking before every request. add public method to check remaining quota