[imp] Add a class_exists check in JHttpFactory::getAvailableDriver(). Fixes #4286