Fixes the BaseUDPTransport to use IPv4 by default

This is a matching patch for getsentry/sentry#1073

getaddrinfo() does not make any guarantees about the ordering of IPv4 vs IPv6 addresses and BaseUDPTransport was just picking the first address from getaddrinfo.  This patch will fall back to using the first IPv4 address by default as per the documentation.