fix compilation

- fix sin6_addr field name (`s6_addr8` => `s6_addr`)
- change diet indent type to size_t