Merge pull request #7 from khawkins/unstable

More updates to support SalesforceSDKManager switch
Added null check; getHost() returns null for data URIs.
Merge pull request #9 from tpesce/unstable

Added null check; getHost() returns null for data URIs.
Syncing unstable to plugin