Add SSL connection functionality to prepare for 0.0.1