Implement stanza ID spoofing protection. Fixes #8.