How can I configure CometChat to use SSL encryption?

To use SSL, change the PubNub config files that are included in the CometChat package. These changes include setting the domain origin (ORIGIN) to ps.pubnub.com and setting SSL = ON.