this PR fixes the issues with the lastest version of typhoeus. The issues are coming from this commit: typhoeus/typhoeus@ba96425. I'll add more fixes until the new version is released.
Fix typhoeus 0.4.0 issues.
Typhoeus is released and webmock green with theses fixes.
Thank you for this patch.