recognize localhost in addition to 127.0.0.1