Correct address length assignment with incoming UDP packets.

Previously it was set to maximum size and msg_namelen was never
reset, which could cause problems with mixed IPv6/IPv4.

Change-Id: I2b4c58c33324fbe702a5b2aa74db2b530119c4ab