Implemented SSL support (issue #8)