ZMQ default endpoint selection fix
Code style