Added graphite pickle protocol as well as buffering