add new function core_net_match() to check if certain IP belongs to certain IP RANGE
validatetoken() with $_SERVER['REMOTE_ADDR'] check using core_net_match()