add SSL connection support
Merge pull request #31 from usk/feature/ssl

add SSL connection support