Finish the logging cleanups with a log scrubber.

Most of the scrubber logic was shamelessly stolen from obfs4proxy.