def setup_http(auth_client)
      @auth_client = auth_client
      if @mode == :http
        RightHttpClient.init(@auth_client, @options.merge(:retry_enabled => true))
        @client = RightHttpClient.instance
      end
      true
    end
def setup_http(auth_client)
      @auth_client = auth_client
      if @mode == :http
        RightHttpClient.init(@auth_client, @options.merge(:retry_enabled => true))
        @client = RightHttpClient.instance
      end
      true
    end
Create client for HTTP-based RightNet communication
 The code loaded with the actors specific to this application
 is responsible for calling this function

 === Parameters
 auth_client(AuthClient):: Authorization client to be used by this agent

 === Return
 true:: Always return true