Inspiration and more detailed explanation of what is going on here: http://tartarus.org/james/diary/2013/04/18/running-statsd-on-heroku