[PATCH v2 30/32] util: Allow sock_l4() to open dual stack sockets