Changed symfony/http-foundation require to 2.2.