Build SendGrid X-SMTPAPI headers in PHP.