fix ssl connection on android 2.2