generic broker selector

add the possibility to change the broker selector alorithm via command
line

implement "use first broker" and "use random broker"