added adhoc option (close #33), TLSv1 by default (close #30)
Merge pull request #34 from rpanah/ssl_cleanup

added adhoc option (close #33), TLSv1 by default (close #30)