Add RIR structures

Both in-memory and wire format
Add as and subnet to ccir_peer_t