network plugin: Use `sstrncpy' instead of `strncpy'.