Cloud compatible psql connection string parsing