check that the given buffer length is >= size + 4
check that the given buffer length is >= size + 4

otherwise, split will raise an invalid_argument exception
(impact on pinata: ABORTED)

cfcs/ocaml-tls,mirleft/ocaml-tls