Adding broadcast of insert messages.

jira : QUES-20
Duplicating environment-sensitive api host logic.

jira : QUES-20
Merge pull request #7 from tbonelaforge/master

Adding broadcast of insert messages.