change core.udpsocket interface per #36