[google compat] make sending nonce optional