Add net Session class which communicates witch server.