bugfix socketCallbacks need data embedded in a msgData structure.