[WO-35] add ssl pinning to tls-socket api