EZP-22061: Refactored CsrfListener with protected methods
EZP-22061: Fixed strict error