Fix NetworkAddressValidator not updating port number

Ensure the validated address is updated even if we know it is valid,
since the port number may have changed.

Fixes #294
5 jobs for <span class="ref-name">wip/validator-fixes</span> in 31 minutes and 55 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #236715
fedora

00:05:50

passed #236716
ubuntu

00:25:21

 
  Test
passed #236717
flatpak

00:05:30

 
  Deploy
passed #236718
review

00:00:25

passed #236719
allowed to fail manual
stop_review

00:00:37