Fix server not receiving msgs

Somewhere along the way comparing network ids stopped working on server session. It was comparing two objects instead of the string values. My guess is that it used to work because `event.network` was a string which would coerce `this.networkId` to a string too. It was supposed to be a string comparison all along.