encode method for payload struct
encode method for payload struct

tjcunliffe/hoverfly,SpectoLabs/hoverfly,tjcunliffe/hoverfly,SpectoLabs/hoverfly,tjcunliffe/hoverfly,tjcunliffe/hoverfly,tjcunliffe/hoverfly,tjcunliffe/hoverfly