Correctly use unix socket to connect to postgres