Add SSL support.

Fixes #6.