Switch to using Lwt and Cstruct

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