lib/pidfile/pidfile.c: Make Clang happy

Silence two "implicit conversion loses integer precision" warnings.
src/common/tls.c: Include <errno.h>

Include <errno.h>, as the "errno" variable is used by the
check_tls_error() function.
Don't stumble over CRLF in send_nsca.cfg(5) files

The client failed at coping with CRLF-terminated lines in
send_nsca.cfg(5) files.

Thanks to Paul Richards for noting this bug.