Revert "Replaced those worthless hex network stuff with constants."

This reverts commit 6573bb8b97c2a103e438de6ca1e74ec49b98ec58.