Add elideError(error) that knows how to sanitize net.Errors.

Instead of omitting errors entirely when running with the log scrubber,
filter common network errors through elideError() that can scrub the
common net.Error types and remove sensitive information.