updated send/recv for libzmq version 3
updated socket types for DEALER/ROUTER