Add HttpException handling + BaseController::getRequestParameters($key, $required=false) method.