Fixed missing Request::getClientIps() and Request::getEncodings() for Symfony < 2.3.