Added ssl support

- updated example to show how it's done