Add support for use of send_ncsa in addition to HTTP for sending

commands to nagios; add TLS support for HTTP, add tests.