See https://github.com/php-http/HttplugBundle/pull/84 and https://github.com/php-http/HttplugBundle/pull/87