Add secure ssl configuration, closes issue #4