Suggested Fix for RateLimit.pm

I desperately needed this to work, but will freely admit I am not a perl master.  Here are the changes I've implemented to allow my local code to function under the new v1.1 API.