Use htobuf16 for 0 value instead of htobe16buf