Bug Fixes, Improved Testing.

Fixed bug where buffer of length 0 (which occurs when the data
previously processed is exactly on the edge of n*BUFFER_SIZE) is
flagged as invalid data received in liege.TcpServer’s internal
connection handler.

Also improved testing, and performance.