Converted to statsd 2.0 pipelining, if it's available.

This maintains statsd 1.0 compatibility, just in case. Should make upgrading easier, in case we still have 1.0 floating around anywhere.