XSRF token generation and validation gem with accompanying faraday-middleware