Xml backend: Integrate scan element attributes into generated XML

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Network backend: Fix default socket timeout not properly set

This fixes commit 7b4f50f4

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>