issue #52: check origin before handling message data