Implement 'record-only' mode, where messages are received but not sent to the network.

Also remove apparently repeated methods "set_pass_through" and
"unset_pass_through"