It works quite well locally actually. I tested with hostnames 127.0.0.1 and 127.0.1.1 and 2 servers running on localhost. See gh-28