Autoconfigbackup - Use proxy when required, and minimal code cleanup

2nd attempt ;)