I don't like the fact that we rely on PHP global variables here. So, this change should target 2.1+ as the Request object is an argument of the prepare() method as of Symfony 2.1.