.......... [ZBX-3336] move function to proxy.c