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

https://jira.duraspace.org/browse/DS-1637

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.