Move patches to a patches folder. Also some explicit casting in network.c.