fix UDP test

After allowing IPv6 UDP test may fail because 'localhost' can be resolved as ::1
whereas UDP server listens on IPv4 interface. This enforces IPv4 also for client