Make request class compatible with Symfony's request class