core/http: Append port number to Host field if needed

HTTP/1.1 header Host must contain the port number if not default for the
protocol.  Host isn't a part of HTTP/1.0 but let's implement it right.

Reported-By: Michael DeCandia <michael.decandia@gmail.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
1 file changed