Project cleanup p1. Added more connection_client functionality. Buffer write pointer now accurately moves through the cyclic queue.