http::loop_bodybuf for testing