def setup_status
      @status = {}
      if @client
        if @mode == :http
          @status = @client.status { |type, state| update_status(type, state) }.dup
        else
          @client.connection_status { |state| update_status(:broker, state) }
          @status[:broker] = :connected
          @status[:auth] = @auth_client.status { |type, state| update_status(type, state) } if @auth_client
        end
      end
      true
    end
def setup_status
      @status = {}
      if @client
        if @mode == :http
          @status = @client.status { |type, state| update_status(type, state) }.dup
        else
          @client.connection_status { |state| update_status(:broker, state) }
          @status[:broker] = :connected
          @status[:auth] = @auth_client.status { |type, state| update_status(type, state) } if @auth_client
        end
      end
      true
    end
Setup client status collection

 === Return
 true:: Always return true