move some summary stuff out into shared coded (h2o/h2o_cmd)