Small fixes to NetworkMessage pertaining to exception handling