Tuning UDP-based connections