Hostnames are case-insensitive (RFC 4343), and both right-hand sides of the routing comparisons (window.location.host and URL.host) are already canonical lowercase. The user-typed domain substring was compared with strict ===, so ORBIT.ddns.net failed to match an existing connected peer and popped a spurious Connect Instance modal. Normalize at parse time.