use curl instead of wget

Signed-off-by: Mattias Andrée <maandree@operamail.com>
proper multi-home support in ipaddress

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add ping monitor

Signed-off-by: Mattias Andrée <maandree@operamail.com>