https://tools.ietf.org/html/rfc5952#section-4 Also add some tests.
The port in the NETADDR struct was left uninitialized. Add some tests to ensure behavior. CC #3774 #3775