Really cool use of Twilio! As others noted in the comments, you would save yourself a lot of work by simply deploying the app with Passenger. No daemon needed, no init script, no proxy. Give it a try next time.