move NetworkManager to Core and rename to TcpManager. Tweaked IServer interface