Update to add static NAT translations to the IPv4 address space
See Bug report #971

Rebased for 0.20.7 and updated coding style on if statements
fix artifacts
Additions to patch supplied by Tim Wilkes

Final Credit for the pull request to me