Added options to configure the logging.

Corrected minor bug in the snort regexp.
Added an option to ignore SSL certs errors.