MOBSDK-612: iOS SDK does not handle XML parsing errors well enough
Merge pull request #165 from mikeh/master

MOBSDK-612