Corrected debug messages in sendPayloadEnhance

correct length of the payload is used
payload of the request is unpacked correct