Add routine to get random free ZeroMQ ports; modify base.py demo to use this routine during setup.