if(s->outstate) {
// If first handshake has finished, encrypt and HMAC
chacha_poly1305_encrypt(s->outcipher, seqno, buffer + 4, len + 1, buffer + 4, NULL);
if(s->outstate) {
// If first handshake has finished, encrypt and HMAC
chacha_poly1305_encrypt(s->outcipher, seqno, buffer + 4, len + 1, buffer + 4, NULL);