Make sure cc/bcc header set with valid value

Fix #274