add network speed and package loss measurement

Signed-off-by: leetschau <leetschau@gmail.com>