fix for some rack versions that cannot handle newlines in headers

fixes #1