[#8] Fix request encoding for termination frame