> There is no code using types or functions related to "internet operations" anymore in protocol.cpp (since #735, more than 8 years ago!), hence the header include can be removed.
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/19890 | core#19890]]