Merge pull request #11 from phrawzty/devel

dev verified, merge into master
Support for HTTPs, verifies certificate against CA certs directory
Better error handling + initialisation of ca_path
Merge pull request #15 from yannh/https_support

[REVIEW] Https support