Implemented input validation - type hash - for the (optional) add_header parameter.