fix proxy bug in sending packet to local client