TS-3108: Add port matching condition to header_rewrite