New interfaces for network classes in simulator defined.

Some changes appears after initial look at TCP implementation.