Squashing a bug in X-Forwarded-Host header handling.

...rt 0. Thanks to Aseem Kishore for spotting that.