optimise UDP send callback

also prevents a memory leak on send failure
Merge branch 'master' of https://github.com/cotag/libuv