Put 'cache' and 'this_server' into AgentConnection and out of Promise

Accidentally, this makes network code Promise-free.