Handle Malformed URIs Bug

`return is_private_ip_address(url.hostname) or IPy.IP(url.hostname)`