added curl test before giving up on a url

.gitignore ignoring all output*.txt

for curl test, when failing, retval is going to use the failure
status_line output from the prev if statement test, it's more
descriptive than just the http response code from curl

when curl reaches timeout (site down), the http response code is 000