add ssl connection test
Merge pull request #11 from michaelfung/master

add ssl connection test