allow header field value of "0"

'0' is a valid value for headers, such as content-length and custom headers
My first commit failed because arrays are apparently a valid type for $value, but I guess I didn't quite fix it with this one