rough nonce and capability check

Speaks to #8.  Could likely be improved.