TS-2316: properly cherry-pick client header condition fix
TS-2316: properly cherry-pick client header condition fix

This commit was cherry-picked with some errors:
    header_rewrite: fix for crash in client header condition

Pointy hat to: me (aivanov@)

rpufky/trafficserver,chitianhao/trafficserver,davidbz/trafficserver,clearswift/trafficserver,PSUdaemon/trafficserver,davidbz/trafficserver,SolidWallOfCode/trafficserver,dyrock/trafficserver,clearswift/trafficserver,vmamidi/trafficserver,dyrock/trafficserver,duke8253/trafficserver,vmamidi/trafficserver,pbchou/trafficserver,persiaAziz/trafficserver,reveller/trafficserver,dyrock/trafficserver,chenglongwei/trafficserver,rahmalik/trafficserver,persiaAziz/trafficserver,persiaAziz/trafficserver,taoyunxing/trafficserver,dyrock/trafficserver,taoyunxing/trafficserver,PSUdaemon/trafficserver,pbchou/trafficserver,SolidWallOfCode/trafficserver,SolidWallOfCode/trafficserver,persiaAziz/trafficserver,taoyunxing/trafficserver,rpufky/trafficserver,bryancall/trafficserver,bryancall/trafficserver,duke8253/trafficserver,clearswift/trafficserver,rahmalik/trafficserver,dyrock/trafficserver,rahmalik/trafficserver,chitianhao/trafficserver,vmamidi/trafficserver,persiaAziz/trafficserver,duke8253/trafficserver,taoyunxing/trafficserver,chenglongwei/trafficserver,PSUdaemon/trafficserver,bryancall/trafficserver,taoyunxing/trafficserver,dyrock/trafficserver,PSUdaemon/trafficserver,chenglongwei/trafficserver,vmamidi/trafficserver,reveller/trafficserver,chitianhao/trafficserver,vmamidi/trafficserver,rpufky/trafficserver,clearswift/trafficserver,rahmalik/trafficserver,PSUdaemon/trafficserver,davidbz/trafficserver,davidbz/trafficserver,PSUdaemon/trafficserver,bryancall/trafficserver,bryancall/trafficserver,reveller/trafficserver,rpufky/trafficserver,PSUdaemon/trafficserver,chenglongwei/trafficserver,pbchou/trafficserver,taoyunxing/trafficserver,reveller/trafficserver,reveller/trafficserver,rahmalik/trafficserver,duke8253/trafficserver,persiaAziz/trafficserver,reveller/trafficserver,dyrock/trafficserver,bryancall/trafficserver,PSUdaemon/trafficserver,rpufky/trafficserver,clearswift/trafficserver,pbchou/trafficserver,clearswift/trafficserver,reveller/trafficserver,SolidWallOfCode/trafficserver,clearswift/trafficserver,rpufky/trafficserver,pbchou/trafficserver,taoyunxing/trafficserver,rpufky/trafficserver,chitianhao/trafficserver,clearswift/trafficserver,clearswift/trafficserver,persiaAziz/trafficserver,chenglongwei/trafficserver,rpufky/trafficserver,vmamidi/trafficserver,rahmalik/trafficserver,SolidWallOfCode/trafficserver,pbchou/trafficserver,taoyunxing/trafficserver,SolidWallOfCode/trafficserver,chitianhao/trafficserver,persiaAziz/trafficserver,chitianhao/trafficserver,rahmalik/trafficserver,chenglongwei/trafficserver,davidbz/trafficserver,duke8253/trafficserver,reveller/trafficserver,reveller/trafficserver,chenglongwei/trafficserver,rahmalik/trafficserver,PSUdaemon/trafficserver,rahmalik/trafficserver,taoyunxing/trafficserver,duke8253/trafficserver,chitianhao/trafficserver,davidbz/trafficserver,SolidWallOfCode/trafficserver,rpufky/trafficserver,duke8253/trafficserver,chenglongwei/trafficserver