Fixed some red tests
agent proxy
Agent upload work