def remote_proxy_object(url, method, options)
easy = Typhoeus.get_easy_object
easy.url = url
easy.method = method
easy.headers = options[:headers] if options.has_key?(:headers)
easy.headers["User-Agent"] = (options[:user_agent] || Typhoeus::USER_AGENT)
easy.params = options[:params] if options[:params]
easy.request_body = options[:body] if options[:body]
easy.timeout = options[:timeout] if options[:timeout]
easy.set_headers
proxy = Typhoeus::RemoteProxyObject.new(clear_memoized_proxy_objects, easy, options)
set_memoized_proxy_object(method, url, options, proxy)
end