pyzmq examples updated for Python3 syntax