Add crude test for input buffering on tcp server