Add protocol tests

And more

ChunkDataCodec is fixed. 
Client starts without error.
resend command for Server


Signed-off-by: Jack Huey kitskub@gmail.com