Do not return unitialized random stack content in the error case

return undef then
zsocket_bind/connect take a literal format string

as 2nd arg
Merge pull request #54 from rurban/master

Do not return unitialized random stack content in the error case