sort gateways depending on the load

Sometimes some gateways are overloaded we need a system to detect that and reduce their priority.

Maybe the work of ale can help as a base for that: https://git.autistici.org/ale/lb