Use request.statsd, if it's available.

Also, no more batch_len nonsense, since statsd 2.0 uses a different interface.