Update to new Cohttp API

This is the API in [mirage/ocaml-cohttp#196]

Signed-off-by: David Scott <dave.scott@eu.citrix.com>