Fix for missing return statement from wnsPayload function.
Merge pull request #15 from adeelx/master

Fix for missing return statement from wnsPayload function.