Eliminate unresolvable hosts, determine if https protocol, and www subdomain.