another patch from this commit in the parent project: https://github.com/fkooman/php-oauth-client/commit/29efbf8f1626f17b1965aea9346f5f2a2b6cadd4