Use Cstruct.t rather than Lwt_bytes.t where possible

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