by slashrsm: Use Request::getClientIp() instead if ip_address().