updates for compatibility with typhoeus 0.5.1