pktout: add payload_bytes function

Convenience function for getting the bytes out a payload