Fixed incorrect headers size countment. Header size was counted as nameLen + valueLen. Spec tells to count as nameLen + valueLen + 32 bytes.