Allow URI connection string

For https://bitbucket.org/ged/ruby-pg/issue/189.