Make it compatible with OkHttp 3.12.13 and Android 10
Implementing SSLSocket.getApplicationProtocol() in DelegateSSLSocket.
I figured out that OkHttp 3.12.13 is calling the method getApplicationProtocol() (on Android 10) that has been introduced in Android 10 javax/net/ssl/SSLSocket#getApplicationProtocol() but as NetCipher's DelegateSSLSocket directly inherit from SSLSocket and does not overwrite getApplicationProtocol() SSLSocket.getApplicationProtocol() is called which throws UnsupportedOperationException.
So I came up with adding getApplicationProtocol() into NetCipher's DelegateSSLSocket that uses reflection to delegate the call.
Upgrading OkHttp would solve the issue but is not possible as OhHttp3 3.12.13 is the last supported version for Android 4.4 and I need to support that platform.