Use wss:// scheme in production, otherwise ws://