versions: 1.6.29.5 -> 1.6.29.7
Factor out handling for errors, stats, and logs.  Add nosniff protection.