fix for some rack versions that cannot handle newlines in headers

fies #1