use local variable
use the code from new version luasocket
Merge branch 'master' of https://github.com/gmd20/lua-statsd
rebuild