Added check to see if network host is unavailable, improved href parsing