Fix psql's handling of connect strings and URIs in \c

Fix psql's handling of connect strings and URIs in \c

Edit