add proxy support