Support for https://localhost
Merge from upstream
Merge branch 'unstable' of github.com:forcedotcom/SalesforceMobileSDK-iOS into unstable