Library to implement client-based CSRF-protection