cors stuff, and set onStanza handler once per session
Merge pull request #89 from jkarneges/master

cors stuff, and set onStanza handler once per session