UDPListenerTest: fix Java 6 compatibility

Inet4Address.getLoopbackAddress() appeared with Java 7.