C++ wrapper library for libpq, with connection pooling