Merge pull request #35 from tOkeshu/fix-xhr-content-type

Fix xhr content-types.
Check the origin when receiving a stopcall event