WIP: Add CSRF token for write operations

#98
Does this work? `$_SERVER['HTTP_X_RESTFUL_MINOR_VERSION']` should be a string (?) (even if it's a numeric string) and `is_int("3")` will return `FALSE`.