Issue #45 Empty HTTP header values causes "Invalid HTTP header field value" fatal

Added further checks to allow empty scalar/strings.

Fixes #45