socket: update ingress bytes counter.