Expose webSocketConnect to be able to restart the WebSocket

Expose webSocketConnect to have the ability to restart the WebSocket with wallet.js internal wsSuccess function - this is needed for the iOS Wallet because of crashes related to WebSocket usage and the iOS JavaScript interpreter