Refactor stats parsing to support UDP counters and other stats

Refactor stats parsing, support for stats from /proc/net/snmp. Add UDP counters.