Support for DB connection encryption
One of the issues pointed out in security audit 1 was that the Postgres connection is not encrypted. It doesn't have to be always encrypted, but we need to implement a way to use TLS for more security conscious users.