Closes #389. This adds a new internal hook RELAY_RAW_MODE, which is called once on every relayed network but with the mode list from the source network.