Add code to artificially induce packet loss

TODO: Add Options menu settings to allow us to turn this on and off at
runtime.