Fix for the incorrect payload size conversion in the stack
Fix for the incorrect payload size conversion in the stack

Change-Id: I928170769799b4c9ca5c466680e9103956a35a53
Signed-off-by: Tim Kourt <531a0d8110a041ebaf51d11cec7faab3248907f9@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2290
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>
Reviewed-by: Jon A. Cruz <d4ae605477945a543a3ecda8955c93978db16a84@osg.samsung.com>

santais/iotivity_1.1,rzr/iotivity,santais/iotivity_1.1.0,iotivity/iotivity,iotivity/iotivity,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,santais/iotivity,santais/iotivity_1.1.0,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,rzr/iotivity,WojciechLuczkow/iotivity,rzr/iotivity,iotivity/iotivity,santais/iotivity_1.1.0,santais/iotivity_1.1,santais/iotivity_1.1,santais/iotivity_1.1.0,rzr/iotivity,iotivity/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,iotivity/iotivity,santais/iotivity,iotivity/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,tienfuc/iotivity-democlient-snap,WojciechLuczkow/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,WojciechLuczkow/iotivity,santais/iotivity,santais/iotivity_1.1.0,santais/iotivity_1.1.0,WojciechLuczkow/iotivity,santais/iotivity_1.1,santais/iotivity_1.1.0,tienfuc/iotivity-democlient-snap,rzr/iotivity,santais/iotivity,tienfuc/iotivity-democlient-snap,rzr/iotivity,rzr/iotivity,santais/iotivity,santais/iotivity_1.1,santais/iotivity,iotivity/iotivity,santais/iotivity,iotivity/iotivity