Bug 908300 - Truncate headers solution

[\#908300](https://bugzilla.mozilla.org/show_bug.cgi?id=908300)