protected function __construct()
 {
     if (!self::$_inited) {
         ApiRequest::init(array('api' => array('host' => STRegistry::getAPIHost(), 'port' => STRegistry::getAPIPort(), 'ssl' => STRegistry::isSSLEnabled(), 'version' => STRegistry::getAPIVersion(), 'userAgent' => STRegistry::getAPIUserAgent(), 'content-type' => STRegistry::getAPIContentType()), 'debug' => false, 'connector' => 'ApiConnectorCURL'));
         self::$_inited = true;
     }
 }