Merge pull request #710 from guidefloripa/master

zsock.c: declaring variable outside 'for'. Error on non-c99 compilers.
Make duplicator usage in zring consistent with use in zhash
Merge pull request #709 from Q-Leap-Networks/pull-consistent-duplicators

Make duplicator usage in zring consistent with use in zhash