Method and system to a proxy-based network-address-translation