def send_command(cmd, content, options)
      begin
        options ||= {}
        cmd = { :name => cmd, :content => RightScale::AuditProxy.force_utf8(content), :options => options }
        EM.next_tick { @agent_connection.send_command(cmd) }
      rescue Exception => e
        $stderr.puts 'Failed to audit'
        $stderr.puts Log.format("Failed to audit '#{cmd[:name]}'", e, :trace)
      end
    end
def send_command(cmd, content, options)
      begin
        options ||= {}
        cmd = { :name => cmd, :content => RightScale::AuditProxy.force_utf8(content), :options => options }
        EM.next_tick { @agent_connection.send_command(cmd) }
      rescue Exception => e
        $stderr.puts 'Failed to audit'
        $stderr.puts Log.format("Failed to audit '#{cmd[:name]}'", e, :trace)
      end
    end
Helper method used to send command client request to RightLink agent

 === Parameters
 cmd(String):: Command name
 content(String):: Audit content
 options(Hash):: Audit options or nil

 === Return
 true:: Always return true