I just rewrote the file to be compatible with the latest versions (as of Oct 16, 2016) of Behat 3.2, Guzzle 6.2 and PHPUnit 5.6.
#WARNING Most of these functions are not tested yet. I will be using this file for my projects and fix bugs as I encounter them. Be aware of this :)
If you notice any problems, please create a new issue here or if you would like to fix it yourself and create a pull request. :)