# Functions
IPBelongsToCIDR checks if the given IP is encompassed by the given CIDR block.
IPBelongsToCIDRBlocksSlice checks if the given IP is encompassed by any of the given CIDR blocks.
RemoteAddrIsOk checks if the given remote address is either: - OK because there's no CIDR whitelist - OK because it's in the CIDR whitelist.
Subset checks if the IPs belonging to a given CIDR block is a subset of IPs belonging to another CIDR block.
SubsetBlocks checks if each CIDR block of a given set of CIDR blocks, is a subset of at least one CIDR block belonging to another set of CIDR blocks.
ValidateCIDRListSlice checks if the given list of CIDR blocks are valid.
ValidateCIDRListString checks if the list of CIDR blocks are valid, given that the input is a string composed by joining all the CIDR blocks using a separator.