Extended PDO with deferred connection, logging and benchmarking.