Quote strings; allow IP and hostname to be set in vars or autodetected