Update socket SSL wrap sequence in example bot.