socket-util: Fix set_dscp for IPv6

IPPROTO_IP/IP_TOS socket option is for IPv4.
Try IPPROTO_IPV6/IPV6_TCLASS socket option as well
so that this can work for IPv6 sockets.

Ideally this function should take the address family but passing
it around lib/*stream*.c would be a bigger change.