refactoring:
  * _NETTEST_ in headers 'pragma once'
  * const and static modifiers
  * codestyle