Move on_ping from 'networking' to 'handlers'.