fix issue 55 in JIRA: InetSocketAddress may resolve localhost to a network address