Make option parsing more conformant to libpq behaviour.

Turns out I misread some of the pointer dancing going on in conninfo_parse, this commit fixes that.

Fixes #162