MOBSDK-712: Incorrect SSL handling causes connections to drop before fully negotiated
Merge pull request #277 from mikeh/master

MOBSDK-712