func Dial(addr string) (*Client, error) {
	return DialSize(addr, 0)
}
Dial connects to the given address on the given network using net.Dial over
UDP and then returns a new Client for the connection.
package statsd
import (
	"bufio"
	"fmt"
	. "github.com/visionmedia/go-debug"
	"io"
	"math/rand"
	"net"
	"sync"
	"time"
)
var debug = Debug("statsd")
const defaultBufSize = 512
type Client struct {
	conn   net.Conn
	buf    *bufio.Writer
	m      sync.Mutex
	prefix string
}
func millisecond(d time.Duration) int {
	return int(d.Seconds() * 1000)
}