Add htole16 for big-endian