DUNE Network: converted UDPSocket to new I/O framework.