Added check for nul ptr
Merge remote-tracking branch 'upstream2/master' into phone-verification
 Change SK Authentication technique according to new sdk.
Merge pull request #25 from shobhitpuri/phone-verification

updated to SecureKey SDK v. 2.2