Add IPv6 support to UDP transport

This is the corresponding client side change to support https://github.com/getsentry/sentry/pull/988