Add option to enable/disable websocket and remove websocket support on iOS as webkit crash app on restore from sleep