new buffer class, tcp work