Add setOptions function. Move incrementNonceCount function to inside getClientNonce.