Add ServerAddr ip/port methods (#4471)
### Description
Two small methods that expose the ip/port of our `ServerAddr`. This is
necessary for initializing the Next.js router, so that requests appear
to be coming from the same correct for middleware requests.
### Testing Instructions