Error Messages: Deal with socket exceptions.

Refs #6070
Error messages: Fix ApiListener.

Refs #6070
Error messages: Catch all SSL/TLS exceptions in ApiListener.

Refs #6070
Error messages: Enable logging in TlsStream class.

Refs #6070
Error messages: Fix Logger exceptions.

Refs #6070
Error messages: Add logging to Socket class.

Refs #6070
Error Messages: Catch boost::regex exceptions.

Refs #6070
Error Messages: Catch and log all Socket class exceptions.

Refs #6070
Error messages: Replace exceptions with log/exit in main application.

Refs #6070
Error messages: Properly handle livestatus/cmd pipe errors.

Refs #6070
Error messages: Gracefully handle PID file errors.

Refs #6070
Error messages: Use strerror() for message formatting.

Refs #6070
Error messages: Properly catch and log DB IDO errors.

Refs #6070