Make sure the job factory is created when initializing protocol module.

Fixes atom/atom#1963, the regression came when moving to use native-mate
to reimplment the APIs.
:memo: Say more on sending messages from browser to web page.