added ip utility helper
check if ip matches a particular network