Add secure connection support
Merge pull request #5 from Metaswitch/secure-connections

[Reviewer: Mike] Add secure connection support