Added support for UPD/TCP communication to graphite

Graphite communication is now configurable to be either tcp or udp.