Generic call rate limiter for node.js