Prepare to deploy outgoing packets.
Clean up some bad maths in packet length.

Now pings fully work!