metrics: add suport for net connections.