Periodically resend local RIR msgs
Convert routers rbtree to sorted array
Forward all RIR on all endpoints

Was using wrong variable
Don't increment subnet counter for known routers

We aren't ref counting - it is the length of the array
Cleanups

Make compare functions simpler/cleaner
Realloc can fail, deal with it
Improve debug output