Protect against stanza ID spoofing

Fixes #24