MOBSDK-712: Incorrect SSL handling causes connections to drop before fully negotiated