Fix to include port in headers on proxy calls if different from port 80

As requested, fixed following your suggestion.
Thanks!