Common OCaml types for TLS/SSL implementations