Add net.Listener mock, explanatory comments in update_mocks.sh, and regenerate.
Clean up input tests, get them passing again.
Get stopChan from the PluginHelper.