set proxy handler