include nonce in content chunks
fix empty packet generation