use just curl in connection checking

install curl during setup if missing