allow gearman lib to be called with array of host/port objects