DS-1637 Support running handle server and application container on separate machines (2nd version)

Thanks to the helpful comments on PR #290 I changed the PR. As I don't like to rewrite git history I created a new branch and this new PR.