refinements to udp connection handling