901b0f0 main: fix two one-byte overreads in header_value() Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 443c6c1c17e29466cc81f44504602d66d993bf86)