Added unit tests for the port mapping network isolator.

These tests test different protocols (TCP, UDP, ICMP, ARP, DNS) in
different connection scenarios (C2C, H2C).

Review: https://reviews.apache.org/r/22471