Payload.apply method with HLists
- Added better support and documentation for setting custom payloads.
- Added companion
apply
method usingshapeless.HList
to allow automatically building aPayload
out of a sequence ofkey, value
pairs wherekey
isString
andvalue
can be any primitive.