Implements threading and replaces Typhoeus