Adapt to Cohttp 0.10.0 interface