fix dynamic header handling for http (don't add port if using the default)