nghttpx: Fix bug: end marker of chunked encoding is written twice