CSRF Token validation

Supports the CSRF token validation that is needed for services 3.4 and above