Changes postgres driver to support ssl flag and pass it to pg driver