Fix NULL dereference panic on UDP requests introduced in r260229.

(cherry picked from commit b421f931ee549ea10e588f82e7cc1df4c24e2c2a)