Twilio’s CEO is the company’s former CFO. Here’s what prepared him for the top job