OkHttp + Retrofit libssl crash in two way SSL authentication-open source projects square/okhttp

OkHttp: 2.0.0-RC1, Retrofit:1.5.1.

I’m creating okHttp client as mentioned here: NoSuchMethodError if i am using okhttp 2.0 and the latest retrofit? and setting my own SSLScoketFactory, and initializing SSLContext like this

KeyStore keyStore = App.getInstance().getKeyStoreUtil().getKeyStore();
KeyStore trustStore = App.getInstance().getKeyStoreUtil().getTrustStore();

TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
tmf.init(trustStore);

KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
kmf.init(keyStore, AppConfig.KEYSTORE_PASSWORD);


final X509KeyManager origKm = (X509KeyManager) kmf.getKeyManagers()[0];
//it's standard X509KeyManager, I've put some logging there
X509KeyManager km = new MyKeyManager(origKm);

SSLContext sslCtx = SSLContext.getInstance("TLS");
sslCtx.init(new KeyManager[]{km}, tmf.getTrustManagers(), null);
client.setSslSocketFactory(sslCtx.getSocketFactory());
client.setHostnameVerifier(org.apache.http.conn.ssl.SSLSocketFactory.STRICT_HOSTNAME_VERIFIER);

When i try to estabilish two way auth SSL connection, every time app crashes with following log:

06-02 17:42:01.215  25176-25542/pl.oneapp.sugarloaf A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 25542 (IntentService[P)
    06-02 17:42:01.236      253-253/? I/DEBUG﹕ debuggerd: 2014-06-02 17:42:01
    06-02 17:42:01.236      253-253/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    06-02 17:42:01.236      253-253/? I/DEBUG﹕ Build fingerprint: 'tmo_de/ville/ville:4.1.1/JRO03C/148618.10:user/release-keys'
    06-02 17:42:01.236      253-253/? I/DEBUG﹕ pid: 25176, tid: 25542, name: IntentService[P  >>> pl.oneapp.sugarloaf