This docstring could be a little more descriptive - "returns the IP of localhost"?