Switch to constants for network info.

The login/invtweaks present packet now also sends a protocol version along.