Fixed a bug in non-ascii detection
Fixed a bug in headers imploding

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>