Add special-case handling for 127.0.0.1 / localhost