untested implementation of UDPSocket