scrub invalid hostnames
Tor should scrub invalid hostnames because some sites actually contain content that uses "invalid hostnames" and therefore it may give away part if a Tor user's browsing history.
<date> [Warning] Your application (using socks5 to port <port>) gave Tor a malformed hostname: "_foo.bar.com". Rejecting the connection.