Restructure SslMode

It will now work properly with the connection pool.