Figured out the chat server has a SSL port available for use. The websocket connection should now use the secure port.