CP-6226: Add OCaml bindings for poll-based event handling

Signed-off-by: John Else <john.else@citrix.com>