adding support for plugins from command line, SSL, and killing with sigint