raise an error if http header value contains newline characters