Maybe I'm wrong took me to add this information and I have not spent a lot of time :) I'll think about it this weekend on how to use the abstract type Cohttp.Connection.t so that ships sockaddr in Cohttp_lwt_unix.