SSL Setup

Fixes #122. Handles both a generated self-signed certificate as well as a CA signed certificate.
s/ssh_dir/ssl_dir/ here and below, right?