Add extra params for connection timeout/tries

Signed-off-by: Ken Barber <ken@bob.sh>
Use traverse instead of our own folder traversal mechanism

Signed-off-by: Ken Barber <ken@bob.sh>