ORACLETOOLS-171: Refactored Constants.getLocalHost() to only require the necessary security permissions