Add signature expiry logic. Wrap header lines. Improve header messages.