std.http.Client: pass port to server based on user input

This makes the host http header have the port if and only if the URI
provided by the API user included it.

Closes #19624
419753f45eAndrew Kelley committed on 4/13/2024, 5:37:07 AMparentf1c0f42
1 file changedLine totals unavailable