When parsing packets, the payload length must be between 0 and xenstore_payload_max

This is functionally equivalent to xen-unstable.hg c/s ffd30e7388ad
Merge branch 'master' of git://github.com/djs55/ocaml-xenstore