Adds per-agent debugging
Adds connection timeout