Fixes #6760 : encode http_build_query on connection string at Pgsql Connection

Fixes #6760