netxml-ups: incremental commit

1/ Removed useless System.Network.* NMC variables
2/ Removed usage of strndup & fixed a related bug