Moved hostname and ipaddress reads into a read function
Moved hostname and ipaddress reads into a read function within the NetworkContext class, currently just set to empty strings on initialisation. Done as importing session was causing errors due to these.