Add is_ip_in_network and get_brower_type function