Renamed ServerSetting class to NetworkDevice (part 2)
Better handling of InvalidProtocolBufferException in MessageUtils.