move handle_urlfetch_response_close to AdvancedProxyHandler