- upgrade to zeromq 3
- support zeromq2 and zeromq3 apis