added example settings
added support for ssl and joining a channel