Include port as a connection parameter for socket connections

Even when using a socket, sometimes the port needs to be something other than the default of 5432