only append the port if it's not specified in the HTTP headers