Refactor ZMQZyre::getSocket