Code samples from the Twilio Best Practices book