Stop assuming limits are always in the headers

Had various KeyErrors recently since pingdom doesn't always return those headers for some reason.
This makes sure to fallback on the previous limits if required.