Move host conf parse code into autosync.c