added nonce and timestamp to header.