Allow nil values for response_headers.
Clear out the custom rate limits when the mode is not custom.