added inet_to_hag and adapted udp_hidra_recvmsg to use it