test for restful mode
add a restful mode to validate crumb with x-csrf-token header instead of payload/query
provide summary and sample usage