longer allow the -Wp,-lang-c-c++-comments directive. Also cleaned
up getloadavg support that had problems on Solaris and RedHat 7.1.
Removed unused variables in a number of functions as a result of
warnings when compiled with --enable-debug config option.
sock_send_string and sock_send "corrected" to handle cases where not all
the bytes intended to be sent are actually sent (must loop to
send the remaining bytes).
File descriptors were not actually being closed by sock_close (they were
only being shutdown).