relay: Add socket family to connections metrics

The newly added connection metrics on the MetricsPort lack the socket family (IPv4 or IPv6). It would be very much desirable to have them to differentiate.