added optional args to BIF GetLocalHostIP()
Merge pull request #171 from igal-getrailo/jira-2327bif

solves ticket https://issues.jboss.org/browse/RAILO-2327