Changed /proc/dev/net header skipping for a more versatile method.