'Date' header added and ability to change the local hostname

Added the date header to the smtp_construct() function and the ability to change the hostname for the smtp 'helo' command.