An ocaml library implementing openflow functionality