Connection string with localhost don't work in library mode
Hi,

When using a connection string with localhost for example `DATABASE_URL=postgres://dev:dev@localhost:5430/db` doesn't work in library mode but works fine in Command line mode, I had to use `127.0.0.1` instead.


