Add stanza ID spoofing protection

Fixes #2