[3/4] tap: break out building of udp header from tap_udp6_send function