Fixed a bug in chunk header encoding.