allow header field value of "0"

'0' is a valid value for headers, such as content-length and custom headers
Coding standards: this should be on the same line as the if statement.