A simple C program to test if a site is up