Always use wss. Hack to fix the fact that we are behind stunnel and ios <= 5 thinks we should use ws protocol.