prov/sock_dgram: update to latest APIs.