added RIR loading during client call and checking mask for ipstorage