bring DbNull class up to date
add DB_Helper::getMaxAllowedPacket with fallback when db is unreachable