For what was requested, @mvut provided a good response and I would recommend anything asking this specific question take a look at that.
For anyone interested in my ideal scenario in the comments on @mvut's answer, I was not able to find a way to successful do that, but I have a follow-up question that may be of interest to you.
https://www.digi.com/support/forum/73715/how-to-use-ssl-with-the-digi-xbee-xsocket-module