Core/NetworkIO: Restore networking related packet hooks

Closes #12607