See the similar version in https://github.com/mirage/ocaml-conduit
See the similar version in https://github.com/mirage/ocaml-conduit