use localhost instead of 127.0.0.1 since it can deal with ipv6 address
Merge pull request #3 from jremond/localhost

use localhost instead of 127.0.0.1 since it can deal with ipv6 address