Add arbitrary origin to handleProcessedMessage.

Jira issue: WP-959