Introducing NetUtil.getLocalHost for travis CI