Use ZMQError in result on the newTransport function.

newTransport can throw a ZeroMQ exceptions this
basically means that previous version could leak
exception outside on the network-transport scope.