fix(http): ensure URL built for HTTP context info on the span correctly uses brackets for IPv6 hostnames (#5127)