variable UDP packet size patch by Max Krasnyansky