add proxy on client side