truncate invalid multi-line headers