Add address/port translation for integration test

Support general test that can listen on custom port.
Remap DNS port to 1053 and listen HTTP server port on 8080 for integration test.
Avoid binding system restricted port (<1024).

Bug: 322113686
Test: atest NetworkStackIntegrationTests:android.net.NetworkStatsIntegrationTest
Change-Id: I574edf5406711c97e8b877e1f9937cd32d3d2cbc
1 file changed