add reporting of stats to statshub

closes getlantern/lantern#1491