> This is an "invented" byte

I don't think so. hts works pretty much the same way as vnsi and vnsi writes the length with htonl.