Backport parse_hostport_priority fix.