Excluding localhost traffic from statistics