public static function instance(array $options = array(), $forceNew = false)
    {
        if (self::$instance === null || $forceNew === true) {
            self::$instance = new Endpoint($options);
        } else {
            self::$instance->setConfig($options);
        }
        return self::$instance;
    }