Fixed WebSocket client cert auth issues

Fixed issue with WebSocket connection that caused the app to freeze
when external processes (KeyChain or MemorizingTrustManager) were
launched.