add stat http handler