Make Rack::Attack::Request more reslient to upstream changes

The following discussion from !79738 (merged) should be addressed:

The suggestion here is to ensure that we avoid collisions with method names in the upstream Rack::Attack::Request class which we do not control.

Edited by 🤖 GitLab Bot 🤖