Add allow-host configuration to enable connection from the Internet.

This commit fixes #152.
Merge branch 'id/152' into dev
Merge commit '948a4df188a5a396f23d55350e2bc96413c17beb' into HEAD