Merged in dc42's changes for 0.65f-dc42
Fixed bug where uploaded files occasionally were too short
Tweaked some LWIP parameters to achieve more reliable TCP connections
LWIP's debug output can now be enabled
LWIP statistics can be printed to USB using "M111 S2"