This patch set finishes cleaning up the imported lwIP code by removing extraneous changes and updates to the latest release. This also fixes a bug preventing compilation with earlier versions of Python.