Recognize SOA as being seen for the first time

Eliminate one PHP error and emit special message when SOA is being seen
for the first time for a domain.
Eliminate some PHP errors we don't have to suffer
Avoid PHP err if SOA missing

dns_get_record() sometimes returns TRUE however doesn't have any SOA in
its array. Check for this and don't cause a PHP execution error. It's
supposed to return FALSE when there is no SOA, but it doesn't always.
Make 'url=' parsing more resilient.

Make parsing of url= lines in properties files more resilient in face
of syntax errors. Avoid PHP errors in logs.
 CS version number now a defined string. {version}

 CS version number now a defined string.
Use ltrim() to remove leading underscores on URL.

Use ltrim() to remove leading underscores on URL.
Use shell_exec() and sys utility to gzip the log

Use shell_exec() to run gzip util to compress log rather than reading
the log and then writing with gzwrite(). We already require
shell_exec() anyway, so why not use gzip utility here?
Additional code signatures for scanners
Fire off gzip and forget

Fire off a gzip of the rotated log and forget it, keep going.
Skip "unresponsive" message if progress still being made

If a child is still making some progress (i.e. not totally stuck) then
do not send an "unresponsive" email message to the administrator.
Allow more slack before calling a child process "Unresponsive"

Allow 120 seconds rather than 60 before calling a child process
"Unresponsive" -- there are quite a few monitored sites that take
around 60 seconds at times, and it was firing us too many alerts.
Add HTTP "Accept" header

Cloudflare was returning 403 if HTTP “Accept” header was not set. So I
set it now for text/html and text/plain. This is a good idea anyway.
Merge branch 'development'
Calculate "notify hour" using a better PHP method

Use date(“H”) and compare it to the desired hour.
GSB filter - update URL keepalive to alert parent we are working

The GSB daily filter could get caught in very long examinations of URLs
and appear to the cyberspark parent as if it had become unresponsive.
Now, after every 100 URLs checked, we update the URL keepalive file.
Detect HTTP result 521 (from Cloudflare)

Cloudflare returns HTTP result 521 when underlying host has become
unresponsive. Insert a remark in our results explaining this. Helps
newbies understand Cloudflare better.
Modify init.d script to get cleaner daemon startup

Changed which params are being used to launch the daemon into the
background. Eliminates need to start using nohup. Remember to give file
‘execute’ permissions to allow ‘service’ to run it.
Merge branch 'development'